M
mnsebastian
Hello,
I have three forms:
1) frmMain - cboAssetNum
2) fsubproperties - Skip Command Button
3) fskip - Skip option group
I want to pass the cboAssetNum to the fskip form and update a table.
Below is the code I have:
DoCmd.RunSQL "INSERT INTO tblVendorAssignment (SkipDate, VendorID,
AssetNumber, SkipReason) VALUES (#" & Format(Me.txtcurrdate,
"mm/dd/yyyy") & "#, '" & Me.txtVendorID & "', '" & Me.cboAssetNum &
"','Slow Response')"
I keep getting the error can't reference parent property.
Can someone please help. Thank you!
I have three forms:
1) frmMain - cboAssetNum
2) fsubproperties - Skip Command Button
3) fskip - Skip option group
I want to pass the cboAssetNum to the fskip form and update a table.
Below is the code I have:
DoCmd.RunSQL "INSERT INTO tblVendorAssignment (SkipDate, VendorID,
AssetNumber, SkipReason) VALUES (#" & Format(Me.txtcurrdate,
"mm/dd/yyyy") & "#, '" & Me.txtVendorID & "', '" & Me.cboAssetNum &
"','Slow Response')"
I keep getting the error can't reference parent property.
Can someone please help. Thank you!