chrisbendrey
04-20-2015, 06:09 AM
I have an Access 2002 mdb that I've upgraded to access 2013.
Each form calls a StdFormOpen function in a module. This function calls the DoCmd.RunCommand acCmdSizeToFitForm and obviously used to run fine.
Now, however i get the following error:
Run-time error '2046'
The command or action 'SizeToFitForm' isn't available now
I've tried moving the command into the forms' Form_Current(), Form_Activate(), Form_Load() and Form_Open() events, all with the same error message.
I'm running Access 2013 on Windows 8 x64. I hope someone can shed some light on my issue,
Thanks,
Chris
Each form calls a StdFormOpen function in a module. This function calls the DoCmd.RunCommand acCmdSizeToFitForm and obviously used to run fine.
Now, however i get the following error:
Run-time error '2046'
The command or action 'SizeToFitForm' isn't available now
I've tried moving the command into the forms' Form_Current(), Form_Activate(), Form_Load() and Form_Open() events, all with the same error message.
I'm running Access 2013 on Windows 8 x64. I hope someone can shed some light on my issue,
Thanks,
Chris