MajP
You've got your good things, and you've got mine.
- Local time
- Yesterday, 19:18
- Joined
- May 21, 2018
- Messages
- 9,610
What happens if you were to open the same form multiple times? passing a CustID for instance as OpenArgs? instead of a WHERE clause?
Not sure what you mean by this. If you are referring to multiple form instances (the same form opened multiple times at once) then openargs cannot be used. You cannot open multiple form instances using Docmd.openform and you cannot set openargs after it is open. You open multiple form instances like
Code:
dim frmInst1 as new Form_Form1
dim frmInst2 as new Form_Form1
frmInst1.visible = true
frmInst2.visible = true
'normally add the instances to a collection
frmInst1.caption = "Instance 1 of Form 1"
frmInst2.caption = "Instance 2 of Form1"