DeveloperSteve
Registered User.
- Local time
- Today, 01:21
- Joined
- May 21, 2012
- Messages
- 12
I have a user input form that sets the recordset for a datasheet form and opens it based on the user selections. If the user views and or sorts the columns and then closes the datasheet, the code works just fine. However, if the user hides / unhides columns (right click column, then hide or unhide) the application fails the next time the user tries to open the datasheet.
Run-time error '103': The identifier that starts with ... is too long. The maximum length is 128.
While the datasheet form is originally unbound, after the hide / unhide the Record Source property contains the record source from the previous search.
How can I clear the record source on the form close event and make it save that way, so it can be opened without an error the next time?
Run-time error '103': The identifier that starts with ... is too long. The maximum length is 128.
While the datasheet form is originally unbound, after the hide / unhide the Record Source property contains the record source from the previous search.
How can I clear the record source on the form close event and make it save that way, so it can be opened without an error the next time?