Users don't always know what version of Access they're using — which can slow things down when you're helping troubleshoot a problem. Make it easy for them (and for you) by creating a convenient button that lets them know.
If you support more than one version of Access, you may often need to ask users which version is running before you can help them with a problem. Don't have them guess! Create a button somewhere on their application form that, when clicked, will tell them exactly what version is running on their PC. Follow these steps:
- Open the form in Design view.
- Click the command button tool in the Form Controls toolbox. In Access 2007, click the Button form control in the Controls Group on the Forms Design tab.
- Click Cancel to close the Forms Control Wizard.
- Change the button caption to Which Version? (Figure A).
- Right-click the button.
- Choose Build Event.
- Type the following code at the prompt (Figure B):
Private Sub Command6_Click()
Select Case SysCmd(acSysCmdAccessVer)
MsgBox "This is Access 95", vbOKOnly
MsgBox "This is Access 97", vbOKOnly
MsgBox "This is Access 2000", vbOKOnly
MsgBox "This is Access 2002", vbOKOnly
MsgBox "This is Access 2003", vbOKOnly
MsgBox "This is Access 2007", vbOKOnly
Press [Alt] +[ Q].
Now, users simply have to click the Which Version? button to let you know what version they are using (Figure C).
Miss an Access tip?
Check out the Microsoft Access archive and catch up on other Access tips.
Help users increase productivity by automatically signing up for TechRepublic's free Microsoft Office Suite newsletter, featuring Word, Excel, and Access tips, delivered each Wednesday.