I have a search form (well a criteria based form) which is launched from my main form.
The search form contains drop down values based on the values in tables. When a user selects on of these values from the dropdown the after_update event kicks in, the main form returns the recordset for the criteria chosen and the search form closes.
I have seen this in action and know it works however I am having trouble with the code and it is throwing up errors
Forms!("Form Name").RecordSource = "Select * from [Table] where [Table].[Field Name] like """ & Me!FieldName
The field I am using contains unique values, the query is looking across two tables but they are joined and give me no trouble anywhere else.
Any help would be appreciated!
Here is an alternative solution that you may try.
http://www.datapigtechnologies.com/f...tomfilter.html
Alan
Alan
Click the * below to say thanks.
Database Principles
Pivot Table Tips
Good Excel Video Tutorials
Sumifs or SumProduct
DataPig Access Tutorials
MS Query Tutorial
Worst Pie Chart Ever?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks