idbands
Technical User
- Oct 13, 2007
- 16
I have 2 tables - orders and orderitems. I need to make two refund tables that are exactly like orders and orderitems. I did this, no problem.
Now I have a refund form that users will use when doing an order refund that should write new records to the refund_orders and refund_orderitems tables. I want a user to open the form, enter an order number, have the original order data pull up as a starting point where the user can then adjust which items are being refunded and click "Submit" to log the refund records.
Not sure how to get the original order data to populate in the form? Do I just somehow set the default values to a query on the original order data? If someone could point me in the right direction, it would be much appreciated!
Thanks!
Kelly
Now I have a refund form that users will use when doing an order refund that should write new records to the refund_orders and refund_orderitems tables. I want a user to open the form, enter an order number, have the original order data pull up as a starting point where the user can then adjust which items are being refunded and click "Submit" to log the refund records.
Not sure how to get the original order data to populate in the form? Do I just somehow set the default values to a query on the original order data? If someone could point me in the right direction, it would be much appreciated!
Thanks!
Kelly