hi All,
Is it possible to use two fields and pass using OpenArgs?
Dim strName As String
strName = Me.PriceList
DoCmd.OpenForm "frmPriceAdd", DataMode:=acFormAdd, WindowMode:=acDialog, _
OpenArgs:=strName
Currently I open frmPriceAdd and PriceList is passed across. However I would like it to open frmPriceAdd and pass over the PriceList and PartID that user is currently on.
Is this possible to use the two? And how can I adjust my code if possible?
Many thanks for your time and suggestions.
Is it possible to use two fields and pass using OpenArgs?
Dim strName As String
strName = Me.PriceList
DoCmd.OpenForm "frmPriceAdd", DataMode:=acFormAdd, WindowMode:=acDialog, _
OpenArgs:=strName
Currently I open frmPriceAdd and PriceList is passed across. However I would like it to open frmPriceAdd and pass over the PriceList and PartID that user is currently on.
Is this possible to use the two? And how can I adjust my code if possible?
Many thanks for your time and suggestions.