D
Dave Ruhl
In Access 2002 is it possible to open multiple instances
of the same form ? Thanks.
of the same form ? Thanks.
Douglas J. Steele said:Once you've instantiated the new instance of the form, using
Set frmX = New Form_Customers
you should be able to set a filter to it using something like
frmX.Filter = "Customer_Id = 1234"
frmX.FilterOn = True
frmX.setfocus
If Customer_Id is text, you need to include quotes:
frmX.Filter = "Customer_Id = '1234'"
Assuming you're going to use a variable, it'll be
frmX.Filter = "Customer_Id = " & lngCustomer
or
frmX.Filter = "Customer_Id = " & Chr$(34) & strCustomer & Chr$(34)