I have tried everything posted but nothing seems to be working. This seems such a simple task.
Situation: open database, show main form, open second form, bring second form to the fore.
This is the sequence of events according to MS.
OpenLoad
Resize
Activate
Current
In On Current of the main form I have:
DoCmd.OpenForm formx (variable)
Forms(formx).SetFocus
I tried putting the actual form name instead of the variable but that didn't work either. Any help will be greatly appreciated.