How do i requery listbox in subform (1 Viewer)

xwnoob

Registered User.
Local time
Today, 02:43
Joined
Nov 7, 2011
Messages
70
Hi,

How do i requery a listbox that is contained inside a subform?

Listfacility is a listbox in main form while the listlender is a listbox in subform.

This is my current code:
[Forms]!
[ListFacility].[Form]!
[ListLender].Requery
 

tezread

Registered User.
Local time
Today, 10:43
Joined
Jan 26, 2010
Messages
330
Check out DoCMD.REquery. You can embed that in one of the fields on the form

see the AfterUpdate() property for the field and code behind that could be DoCmd.Requery
 

vbaInet

AWF VIP
Local time
Today, 10:43
Joined
Jan 22, 2010
Messages
26,374
Is the subform in Datasheet view or a Continuous form?
 

Users who are viewing this thread

Top Bottom