Using VBA...
How do I test for a particular open form?
Then
If open, populate a field on that form.
Actually, I don't even need to test if it's open. I just need to populate that field on the form.
DoCmd.Forms!myform![field1] = 1000
I tried using me, but its outside of the form class and it doesn't exist. How do you control a form from another module. I searched and found that it must be declared, but there were limited examples. I need more help than what I came accross.
Thanks in advance
How do I test for a particular open form?
Then
If open, populate a field on that form.
Actually, I don't even need to test if it's open. I just need to populate that field on the form.
DoCmd.Forms!myform![field1] = 1000
I tried using me, but its outside of the form class and it doesn't exist. How do you control a form from another module. I searched and found that it must be declared, but there were limited examples. I need more help than what I came accross.
Thanks in advance