Can not choose in combo

  • Thread starter Frank Situmorang
  • Start date
F

Frank Situmorang

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
 
T

Tom van Stiphout

On Tue, 1 Jun 2010 03:13:01 -0700, Frank Situmorang

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
 
Joined
Jun 2, 2010
Messages
1
Reaction score
0
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]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top