S
Stapes
Hi
I am creating a record using the following code:
Set qd = db.QueryDefs("Append Purchase Order")
qd.Parameters("pSUPPLIER").Value = [Forms]![Purchase Orders].Form.
[FK_SUPPLIER_CODE]
qd.Execute dbFailOnError
The key field in Purchase Orders is PK_PurchaseOrder.
Is there any way I can retrieve the key of the record just created?
Stapes
I am creating a record using the following code:
Set qd = db.QueryDefs("Append Purchase Order")
qd.Parameters("pSUPPLIER").Value = [Forms]![Purchase Orders].Form.
[FK_SUPPLIER_CODE]
qd.Execute dbFailOnError
The key field in Purchase Orders is PK_PurchaseOrder.
Is there any way I can retrieve the key of the record just created?
Stapes