MontyBurns
Programmer
Hi,
I know how easy it is to open another instance of the current form, but...
I have a subform on my form, which in it's OnOpen event fires some code to update a textbox on the parent form (recordcount).
How do I code so the OnOpen code in the subform knows which instance of the parent form to target? There will be the initial instance and a maximum of two other instances which are opened by separate command buttons.
The problem this is causing is that every time I click on the button to open a new instance, it opens very briefly and then disappears again straight away. I'd post some code but i'm unsure what code to post!
Any help would be really appreciated,
Burns
I know how easy it is to open another instance of the current form, but...
I have a subform on my form, which in it's OnOpen event fires some code to update a textbox on the parent form (recordcount).
How do I code so the OnOpen code in the subform knows which instance of the parent form to target? There will be the initial instance and a maximum of two other instances which are opened by separate command buttons.
The problem this is causing is that every time I click on the button to open a new instance, it opens very briefly and then disappears again straight away. I'd post some code but i'm unsure what code to post!
Any help would be really appreciated,
Burns