L
LJG
OK, have tried a few things, this one creates an orderID, however it is not
putting the contactID into field txtcontactID ?
is my code wrong?
Have checked spellings but it is not passing the contactID
Any clues?
Private Sub btnQuote_Click()
DoCmd.SetWarnings False
DoCmd.OpenForm "frmQuote", acNormal, "", "", acFormAdd, acWindowNormal
Forms!frmQuote!txtcontactID = contactID '.Value
Forms!frmQuote.SetFocus
End Sub
Thanks
Les
putting the contactID into field txtcontactID ?
is my code wrong?
Have checked spellings but it is not passing the contactID
Any clues?
Private Sub btnQuote_Click()
DoCmd.SetWarnings False
DoCmd.OpenForm "frmQuote", acNormal, "", "", acFormAdd, acWindowNormal
Forms!frmQuote!txtcontactID = contactID '.Value
Forms!frmQuote.SetFocus
End Sub
Thanks
Les