G
Guest
Hi. I need the syntax for opening a form using a condition.
i want to open a form from within another form using a click button.
here is what i have so far
the variable below is given the text box value from the current opened form.
DivCode = txtDiv
This line then opens the form 'frmPs' where the value in PsNum of frmPs =
the variable value.
DoCmd.OpenForm "frmPs", acNormal, , Forms![frmPs]![PsNum] = DivCode,
acFormReadOnly
Many thanks in advance
i want to open a form from within another form using a click button.
here is what i have so far
the variable below is given the text box value from the current opened form.
DivCode = txtDiv
This line then opens the form 'frmPs' where the value in PsNum of frmPs =
the variable value.
DoCmd.OpenForm "frmPs", acNormal, , Forms![frmPs]![PsNum] = DivCode,
acFormReadOnly
Many thanks in advance