peterbowles
Registered User.
- Local time
- Today, 06:39
- Joined
- Oct 11, 2002
- Messages
- 163
on form A I have a button (Edit) that when pressed opens up formB. I want the edit button to open the other form filtered
I have been using the following in the on click event of the button:
________________________________________
Dim strfilter as string
strfilter = "CustomerNumber = Forms![frmAddBill]!CustomerNumber"
Docmd.openform "frmCustomerAdmin",,strfilter"
It opens the form but not filtered buy the customer number.
(customer number is a number not text- does this make a difference)
I have been using the following in the on click event of the button:
________________________________________
Dim strfilter as string
strfilter = "CustomerNumber = Forms![frmAddBill]!CustomerNumber"
Docmd.openform "frmCustomerAdmin",,strfilter"
It opens the form but not filtered buy the customer number.
(customer number is a number not text- does this make a difference)