secondangel
Registered User.
- Local time
- Today, 08:50
- Joined
- Nov 6, 2008
- Messages
- 52
Hiya
HAving trouble getting a report to open filtered on a value from my form
In the form is a dropdown combo box that selects the customers name
A text box at teh side retrives the value of the customers id number which is the second field in the combo box.
Then the report is meant to take the value from the text box (cs) as the filter against the id.
The report is made from a query.
Any idea as to why i get
Microsoft access cant find the field ¦
The way round is to just use the combo box with a list of customer id numbers and choose from that - but its easier to search by name.
Any help appreciated as always
HAving trouble getting a report to open filtered on a value from my form
In the form is a dropdown combo box that selects the customers name
A text box at teh side retrives the value of the customers id number which is the second field in the combo box.
Then the report is meant to take the value from the text box (cs) as the filter against the id.
The report is made from a query.
Any idea as to why i get
Microsoft access cant find the field ¦
Code:
DoCmd.OpenReport stDocName, acPreview, , [CustomerID] = Forms![CustomerMaintenance]![cs]
The way round is to just use the combo box with a list of customer id numbers and choose from that - but its easier to search by name.
Any help appreciated as always