var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Opening and Closing forms..
I have a form that has a button to open another form .. when the button is pressed to open the second form .. i want first first form to close .. that way the user will only see the second form...
thanks for the help
Add the code
after the form open command. That should do it.
This may work, but I haven't tested it.
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "second_form_to_open"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Somebody else feel free to correct me if I am wrong as I am relatively new to this as well.
and the full syntax (no lingering doubt over what might be .closed)
docmd.close acform, "theNameOfYourForm"