PC Review


Reply
Thread Tools Rate Thread

Can not choose in combo

 
 
Frank Situmorang
Guest
Posts: n/a
 
      1st Jun 2010
Hello,

I have a church membership database. I have the form to input the member
data on whch form I also have a combo box to choose the address.

If there is no address on the combo list, I add the member address in
another form. I can only select it in the member form combo, if I complete
filling the address and then return back to previous address.

Can any body help me, that I do not need to return back in the address input
form? in order to be able to choose it in the member combo form?.

Sorry English is not my language, I can not explain it more clearer, but I
think you can understand what I mean.

Thanks,

Frank
--
Frank Situmorang
 
Reply With Quote
 
 
 
 
Tom van Stiphout
Guest
Posts: n/a
 
      1st Jun 2010
On Tue, 1 Jun 2010 03:13:01 -0700, Frank Situmorang
<(E-Mail Removed)> wrote:

Hi Frank,
What you ask for is the default behavior, so perhaps you need to
follow some standard samples again. You should be able to type an
address in the dropdown, the NotInList event fires, you open a modal
(acDialog) form to add it, data is added, form is closed, you set the
resonse to acDataErrAdded, Access will requery the dropdown and try
again, and this time the data is found in the dropdown.

-Tom.
Microsoft Access MVP



>Hello,
>
>I have a church membership database. I have the form to input the member
>data on whch form I also have a combo box to choose the address.
>
>If there is no address on the combo list, I add the member address in
>another form. I can only select it in the member form combo, if I complete
>filling the address and then return back to previous address.
>
>Can any body help me, that I do not need to return back in the address input
>form? in order to be able to choose it in the member combo form?.
>
>Sorry English is not my language, I can not explain it more clearer, but I
>think you can understand what I mean.
>
>Thanks,
>
>Frank

 
Reply With Quote
 
New Member
Join Date: Jun 2010
Posts: 1
 
      2nd Jun 2010
Hi Tom,

Thanks for your reply. I appreciate if you could give the sample
of the VBA?. This would be a great help to me.

Thanks a lot

Frank




What you ask for is the default behavior, so perhaps you need to
follow some standard samples again. You should be able to type an
address in the dropdown, the NotInList event fires, you open a modal
(acDialog) form to add it, data is added, form is closed, you set the
resonse to acDataErrAdded, Access will requery the dropdown and try
again, and this time the data is found in the dropdown.

-Tom.
Microsoft Access MVP



>Hello,
>
>I have a church membership database. I have the form to input the member
>data on whch form I also have a combo box to choose the address.
>
>If there is no address on the combo list, I add the member address in
>another form. I can only select it in the member form combo, if I complete
>filling the address and then return back to previous address.
>
>Can any body help me, that I do not need to return back in the address input
>form? in order to be able to choose it in the member combo form?.
>
>Sorry English is not my language, I can not explain it more clearer, but I
>think you can understand what I mean.
>
>Thanks,
>
>Frank
[/QUOTE]
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Combo Box - Can I choose more than one? Douglas J. Steele Microsoft Access Forms 0 29th Jan 2010 10:43 PM
Choose From Combo box Charles L. Phillips Microsoft Access Form Coding 2 23rd Jul 2007 08:04 PM
combo choose 1 or many =?Utf-8?B?RGFuIEBCQ0JT?= Microsoft Access Form Coding 17 31st May 2006 01:30 PM
Combo Box-Choose Col 2 =?Utf-8?B?Q0M=?= Microsoft Access Forms 1 21st Mar 2006 06:41 PM
Can't choose data in combo box Tony Wainwright Microsoft Access Forms 1 15th Oct 2003 06:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:44 PM.