UbiqutyDegins
asked on
Access 2010 Form filtering question
I have a form that have a combobox that chooses what record to display on the form. When I load the form, before selecting anything in the combobox, the Text boxes on my form are populated with the first record in the corresponding table. How do I get the form to just be blank when it loads?
ASKER
The combo box has an embedded Macro associted with it that finds the records. If I set an Ater_Update event will that remove the macro?
Nice catch!
Use "SetProperty" if you're using a macro... one line for each control.
There's also a "Requery" macro if you need to use.
Use "SetProperty" if you're using a macro... one line for each control.
There's also a "Requery" macro if you need to use.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
I do not see SetValue as an Option
ASKER
Thank you for your help and patience.
me.ControlName1.ControlSou
me.ControlName2.ControlSou
You might need to Requery the form after you've set the ControlSource properties for your fields to get everything to actually show up:
me.Requery
Hope this helps!