M
Mark Kubicki
i have a command button on a form [frmMainMenu] that when clicked, closes
that form and opens another [frmFixtureSchedulePrintOptions].
The 2 share the same table as a record source, so i'm doing this to avoid
conflicting updates
the code behind [frmMainMenu] reads like this (below), and functions
correctly
DoCmd.Close
stDocName = "frmFixtureSchedulePrintOptions"
DoCmd.OpenForm stDocName, acNormal
on the new form [frmFixtureSchedulePrintOptions], there is a command button
to save to close itself, and open the previous from [frmMainMenu], and the
code reads like this (below), and does not work.
It is not able to find the form, although it is a correct name
DoCmd.Close
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmMainMenu"
DoCmd.OpenForm stDocName, , , stLinkCriteria
any suggestions would be greastly appreciated
thanks in advance,
mark
that form and opens another [frmFixtureSchedulePrintOptions].
The 2 share the same table as a record source, so i'm doing this to avoid
conflicting updates
the code behind [frmMainMenu] reads like this (below), and functions
correctly
DoCmd.Close
stDocName = "frmFixtureSchedulePrintOptions"
DoCmd.OpenForm stDocName, acNormal
on the new form [frmFixtureSchedulePrintOptions], there is a command button
to save to close itself, and open the previous from [frmMainMenu], and the
code reads like this (below), and does not work.
It is not able to find the form, although it is a correct name
DoCmd.Close
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmMainMenu"
DoCmd.OpenForm stDocName, , , stLinkCriteria
any suggestions would be greastly appreciated
thanks in advance,
mark