Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Application from ACCESS 2007 has different behaviour in ACCESS 2013 2

Status
Not open for further replies.

Niebotel

Programmer
Jan 1, 2007
169
NL
I am trying to run my ACCESS 2007 application in 2013. But, as expected :(, I have some problems.
The first thing is that the application opens with a form and that the form is to small in 2013 although there is a command on opening docmd.maximize.

'------------------------------------------------
' MAXIMISE FORM
' START PROCEDURE: PUBLIC VARIABLES
' BACKUP
'------------------------------------------------
Private Sub Form_Open(Cancel As Integer)
DoCmd.Maximize
StartProcedure


Also the module StartProcedure does not start. If I make breakpoint to debug in the VBA I discover that ACCESS2013 does not start the vba Module. (Which explainns the previous errors)
In my form I have a part of VBA on the on open event. But that seems the problem. it does not start.

What actions are required to convert from ACCESS 2007 into ACCESS 2013?
 
Form open event should fire when the form is opened.

If you put a msgbox as the first command in the open event handler and comment out the rest, does it show?

Did you save the form the size you wanted it open?

What about the auto-resize property of the form, what's that set to?

Also have a look here :


"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music
 
So simple! I changed the trusted location and yes!!

Thanks a lot!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top