gakiss2
Registered User.
- Local time
- Today, 08:12
- Joined
- Nov 21, 2018
- Messages
- 168
I want to utilize the Filter On Load. I have a datasheet view form that a user will use to look up a record then click to launch a form that shows detail for that specific record. There is a field in the datasheet form that had a click event which opens the single record form. When the user is finished working with that form he may want to go back to the datasheet form to find another item to work on. Since that user may have used some filtering techniques to get to the subset of records he is interested in then I want that datasheet form to have the same filters in place that were in place the last time he looked at it. I set the property of the datasheet form for Filter on Load to Yes.
I actually have a floating window form with some buttons to help filter the form but the user also has access to the native access filter functions as well.
I click the field to go to the record and it goes. When I go back to the datasheet form, the filter settings are NOT preserved.
At first I thought it was working some times but not other times. But after some trouble shooting I did discover that if I set the filter settings then click the Save Icon, the one right above the 'File' menu, then the filter settings WILL BE preserved. I tried to add code to save the form but that doesn't do it. there is something that happens when the big Save icon is clicked that I haven't been able to recreate with code. I also tried me.requery. I could use some help on how to fix this little glitch.
I actually have a floating window form with some buttons to help filter the form but the user also has access to the native access filter functions as well.
I click the field to go to the record and it goes. When I go back to the datasheet form, the filter settings are NOT preserved.
At first I thought it was working some times but not other times. But after some trouble shooting I did discover that if I set the filter settings then click the Save Icon, the one right above the 'File' menu, then the filter settings WILL BE preserved. I tried to add code to save the form but that doesn't do it. there is something that happens when the big Save icon is clicked that I haven't been able to recreate with code. I also tried me.requery. I could use some help on how to fix this little glitch.