G
G
Hi Experts,
I have a main menu form with an unbound subform. The buttons will call a
function that will open a form for subform. That works fine but i wanted to
show only records related to field USite on the main menu. Ex: Usite =
Building1, so the records that will show on my subform are records belong to
Building1 only. Currently, everything is showing up,
building1,building2..etc. I can't assign directly a LinkMaster & LinkChild
coz what I have is unbound subform.
Here's my code for calling the form for my unbound subform.
Forms!FormMain.SubformName.Visible = True
Forms!FormMain.SubformName.SourceObject = "FormInformation"
Any help are greately appreciated.
Thanks
I have a main menu form with an unbound subform. The buttons will call a
function that will open a form for subform. That works fine but i wanted to
show only records related to field USite on the main menu. Ex: Usite =
Building1, so the records that will show on my subform are records belong to
Building1 only. Currently, everything is showing up,
building1,building2..etc. I can't assign directly a LinkMaster & LinkChild
coz what I have is unbound subform.
Here's my code for calling the form for my unbound subform.
Forms!FormMain.SubformName.Visible = True
Forms!FormMain.SubformName.SourceObject = "FormInformation"
Any help are greately appreciated.
Thanks