Hi,
Using 32-bit Access 2010 on 64-bit Win7 Pro box.
I want to modify the Switchboard embedded macro that opens a form. I've tried to add an action to the macro that opens forms, but unable to move it to the line I want.
The section of embedded macro is as follows:
If [Command] = 3 Then
OpenForm
Form Name =[Argument]
View Form
Filter Name
Where Condition
Data Mode
Window Mode Normal
Stop Macro
End If
I want to change this to the following:
If [Command] = 3 Then
OpenForm
If [Argument] = "MyForm" then
Form Name =[Argument]
View Form
Filter Name
Where Condition
Data Mode
Window Mode ReadOnly
Else
Form Name =[Argument]
View Form
Filter Name
Where Condition
Data Mode
Window Mode Normal
End If
Stop Macro
End If
When I try adding the action: If [Argument] = "MyForm"
I'm not able to move that action under the OpenForm line.
Any suggestions?
Thanks,
Vic
P.S. When the code for the Switchboard was handled in VBA, I had no problem modifying the code at will.