S
sml
I have a continous form with limited data and I would like to have a button
which then opens up a selected record in another form. I've placed the button
via the wizard and, while it opens the form, it doesn't open to the selected
record.
It it possible to have a button on a continous form which would then open
to a bookmarked record on another form? The wizard put this code, is it
possible to modify this?
Thanks.
Private Sub btnOpenForm_Click()
On Error GoTo btnOpenForm_Click_Err
DoCmd.OpenForm "frmName", acNormal, "", """[id]="" & [id]", , acNormal
btnOpenForm_Click_Exit:
Exit Sub
btnOpenForm_Click_Err:
MsgBox Error$
Resume btnOpenForm_Click_Exit
End Sub
which then opens up a selected record in another form. I've placed the button
via the wizard and, while it opens the form, it doesn't open to the selected
record.
It it possible to have a button on a continous form which would then open
to a bookmarked record on another form? The wizard put this code, is it
possible to modify this?
Thanks.
Private Sub btnOpenForm_Click()
On Error GoTo btnOpenForm_Click_Err
DoCmd.OpenForm "frmName", acNormal, "", """[id]="" & [id]", , acNormal
btnOpenForm_Click_Exit:
Exit Sub
btnOpenForm_Click_Err:
MsgBox Error$
Resume btnOpenForm_Click_Exit
End Sub