evanscamman
Registered User.
- Local time
- Today, 07:25
- Joined
- Feb 25, 2007
- Messages
- 274
When I add a filter to my form, the underlying query, of course, does not include the additional criteria from the form.
I need to use the underlying query to supply data to an update query.
But the update query must only affect records shown on my form.
Is there any way to feed the form's filter back to the query?
I can create a filtered recordset in VBA using the original query and the form's filter, but I can't figure out how to use this recordset in an update query - so I may be using a completely wrong approach.
I also tried putting a dynamic reference to the form's filter in a column of my query, but couldn't get that to work either - it always evaluated to True.
Any ideas?
Thank you for your help,
Evan
I need to use the underlying query to supply data to an update query.
But the update query must only affect records shown on my form.
Is there any way to feed the form's filter back to the query?
I can create a filtered recordset in VBA using the original query and the form's filter, but I can't figure out how to use this recordset in an update query - so I may be using a completely wrong approach.
I also tried putting a dynamic reference to the form's filter in a column of my query, but couldn't get that to work either - it always evaluated to True.
Any ideas?
Thank you for your help,
Evan