drmoreland
IS-IT--Management
I would like to search for a customer order in a table of customer returns. If the order is not present, I would like to locate the order in another table ( customer orders) and then create a record in the customer returns table with specific fields from the customer orders table.
The road I was going down was to query customer returns and then on no results, query customer orders. I just can't seem to write the code to make that happen.
Any help would be appreciated.
The road I was going down was to query customer returns and then on no results, query customer orders. I just can't seem to write the code to make that happen.
Any help would be appreciated.