Link to home
Start Free TrialLog in
Avatar of eossma
eossma

asked on

Access 2013 SetFocus Command - Can't get to work

I have a 2007 DB that I'm moving into the 2013 environment and some of the old command codes don't work.

I have a form named "Course". I would like to combine two events into one expression that 1) maximizes the form, and 2) sets focus on a field called "CRSE". The tab stop of the filed is "0".

For the life of me, I can't get this simple expression to work.
Avatar of Gustav Brock
Gustav Brock
Flag of Denmark image

That will be:

    DoCmd.Maximize
    Me!CRSE.SetFocus

/gustav
Avatar of eossma
eossma

ASKER

That's what I had, but it's not highlighting the field or content within the CRSE.
ASKER CERTIFIED SOLUTION
Avatar of Dale Fye
Dale Fye
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial