W
wazza_c12
Hi All
Say I'm using a form/sub form to enter purchase orders
This consists of
header information (in one table).
Line Item Info (in a subform) in another table.
Question 1:
Best method to cancel entering a new order?
Say a user has entered 2 line items and some header info and decides to
cancel the entry/order ...... in a simple 1 table scenario I would use
Me.Undo ...... but as line item records have already been written to a
separate table, what do I do ???? Would a Me.Undo trigger cascade
delete and remove the offending lineitems OR would I need to do a
delete where foreign key = .... On the lineitem table THEN do a
Me.Undo ..... or is there a better way?
Question 2
I want to have the functionality for a user to be able to clone the
lineitems from a chosen order number, but enter different header
information (to save time etc) ... What is the best way to do that? I
have not done anything along those lines before.
Cheers
Warwick
Say I'm using a form/sub form to enter purchase orders
This consists of
header information (in one table).
Line Item Info (in a subform) in another table.
Question 1:
Best method to cancel entering a new order?
Say a user has entered 2 line items and some header info and decides to
cancel the entry/order ...... in a simple 1 table scenario I would use
Me.Undo ...... but as line item records have already been written to a
separate table, what do I do ???? Would a Me.Undo trigger cascade
delete and remove the offending lineitems OR would I need to do a
delete where foreign key = .... On the lineitem table THEN do a
Me.Undo ..... or is there a better way?
Question 2
I want to have the functionality for a user to be able to clone the
lineitems from a chosen order number, but enter different header
information (to save time etc) ... What is the best way to do that? I
have not done anything along those lines before.
Cheers
Warwick