Hello,
I have done a lot of reading on OpenArgs and am trying to implement them but not having much luck.
This is my cmd button to open a new form, sending the ProdID to the ProdDetails form.
Private Sub cmdEnterProdDetails_Click()
DoCmd.OpenForm "frmProdDetails", , , , , acDialog, Me.ProdID
End Sub
I've tried a number of different sets of code for the openArgs on the ProdDetail form based on what I've read, but none seems to work. The ProdID field is a combo box on the ProdDetails form.
Any ideas?
Thanks,
I have done a lot of reading on OpenArgs and am trying to implement them but not having much luck.
This is my cmd button to open a new form, sending the ProdID to the ProdDetails form.
Private Sub cmdEnterProdDetails_Click()
DoCmd.OpenForm "frmProdDetails", , , , , acDialog, Me.ProdID
End Sub
I've tried a number of different sets of code for the openArgs on the ProdDetail form based on what I've read, but none seems to work. The ProdID field is a combo box on the ProdDetails form.
Any ideas?
Thanks,