TraceSL
Registered User.
- Local time
- Today, 12:27
- Joined
- Sep 12, 2017
- Messages
- 51
Hello
I use a version number on the main form in my access systems to track versions. We have users who are dragging the shared access database onto the windows computer desktops instead of the shortcuts. To help ensure users are using the latest version I been asked to track versions in a table than compare the version number to the one listed on the main form. If the version numbers do not match pop up a message to end user and exit application.
We do not use Access security or log on features. These are basic Access systems.
I created a SQL table to track the date related version number. Version number format we are using is mm.dd.yyyy. This version number is displayed on main access form as a label. The other version number is stored in the SQL table as short text.
I want compare the two version numbers and if they don't match give user error message and stop the app.
I was going to add this to the form properties open form event. I would prefer to use a VBA routine which would include a message box if comparison does not match.
I have tried to write this myself in VBA using the do.cmd on open form but it is not working.
Any guidance on how to implement this feature would be appreciated.
Thank you, Tracy
I use a version number on the main form in my access systems to track versions. We have users who are dragging the shared access database onto the windows computer desktops instead of the shortcuts. To help ensure users are using the latest version I been asked to track versions in a table than compare the version number to the one listed on the main form. If the version numbers do not match pop up a message to end user and exit application.
We do not use Access security or log on features. These are basic Access systems.
I created a SQL table to track the date related version number. Version number format we are using is mm.dd.yyyy. This version number is displayed on main access form as a label. The other version number is stored in the SQL table as short text.
I want compare the two version numbers and if they don't match give user error message and stop the app.
I was going to add this to the form properties open form event. I would prefer to use a VBA routine which would include a message box if comparison does not match.
I have tried to write this myself in VBA using the do.cmd on open form but it is not working.
Any guidance on how to implement this feature would be appreciated.
Thank you, Tracy