Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refreshing form 1

Status
Not open for further replies.

mrblonde

Technical User
Mar 16, 2001
187
US
Hi,
I know this isn't technically refreshing but this is what I am trying to accomplish. I have a form that is based off of three tables, all with the same primary key. I want to create a combo box (which I did) for the primary key. I can go into the drop down and select from the data, but the other fields do not follow suit. Does anyone know what I am missing here?
 
A refreshing question!
In VB code in the "after update" event of your combo you would have to have something like:

Me.NameOfSubFormAsSeenByMainForm.Requery

Just like that!
Gord
ghubbell@total.net
 
Back up a sec Gord!, If your combo is Not bound and you're just using it to "filter" the records on one form? Then in it's after update event try:

Me.SomeFieldWhereYouWantToLook.SetFocus
DoCmd.FindRecord Me.NameOfTheCombo, acEntire, False, acDown, False, acCurrent

Still a refreshing question~quasi refreshing answer! Gord
ghubbell@total.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top