J
Jeff via AccessMonster.com
I have a button to save a rewly created record from Access to SQL backend
table. Here's my code...
DoCmd.Runcommand acCmdSaveRecord
Me.lot# = DMax("lot#", "tblSales") +1
I receive the following error:
"cannot insert explicit value for identity column in table tblSales when
Identity_insert is set to off."
Can anyone see what I need to add here?
Thanks,
table. Here's my code...
DoCmd.Runcommand acCmdSaveRecord
Me.lot# = DMax("lot#", "tblSales") +1
I receive the following error:
"cannot insert explicit value for identity column in table tblSales when
Identity_insert is set to off."
Can anyone see what I need to add here?
Thanks,