Hi,
I have two tables, "NewPurchaseTable" and "TheirPurchaseTable", I am viewing them side by side in subforms on a main form called "InvoiceForm". Each subform is called "OurPurchaseTableSubForm" and "TheirPurchaseTableSubform" respectively, and they are both being viewed in datasheet view.
My objective is too select/highlight a record in each table, then click a command button to paste the "PurchaseID" from the selected record in "TheirPurchaseTableSubform" into the "Invoice ID" field of the selected record in the "OurPurchaseTableSubForm".
I'm not sure where to start and if this is even possible to do in code, or if I should use a macro with an append query.
Any advice would be greatly appreciated, thank you.
Dean
I have two tables, "NewPurchaseTable" and "TheirPurchaseTable", I am viewing them side by side in subforms on a main form called "InvoiceForm". Each subform is called "OurPurchaseTableSubForm" and "TheirPurchaseTableSubform" respectively, and they are both being viewed in datasheet view.
My objective is too select/highlight a record in each table, then click a command button to paste the "PurchaseID" from the selected record in "TheirPurchaseTableSubform" into the "Invoice ID" field of the selected record in the "OurPurchaseTableSubForm".
I'm not sure where to start and if this is even possible to do in code, or if I should use a macro with an append query.
Any advice would be greatly appreciated, thank you.
Dean