QueenKirsty
Registered User.
- Local time
- Today, 04:05
- Joined
- Mar 13, 2009
- Messages
- 31
I want to export data from forms to excel. I can do the export to excel bit if I can get a copy of the recordset.
I have a form with a filter (that the user can turn on and off) and I want to copy only the filtered data to the duplicate recordset but when I do:
I get all the records not just the filtered ones. The filter being applied is:
Any suggestions on how to get a copy of just the filtered records?
I have a form with a filter (that the user can turn on and off) and I want to copy only the filtered data to the duplicate recordset but when I do:
Code:
Set rs = Me.Controls("SubMiscSiteAccess").Form.Recordset
I get all the records not just the filtered ones. The filter being applied is:
Code:
me.filter = [sql statement here]
me.filterOn
Any suggestions on how to get a copy of just the filtered records?
