I have a form named "frmOpenOrders". On this form is a field named "txtOrder_Qty". I am trying to write code for an afterupdate event of this field to do one of two thing:
Scenario 1: If values DO NOT exist in ANY of 5 fields in a totally separate table named "tblPartsMasters", then I want a 2nd form to open, leaving the "frmOpenOrders" open. The 2nd form to be opened is named "frmPartsMastersEditFromOpenOrdView". The 5 fields in the table named "tblPartsMasters" are "BestPrice1", "Q1D1Price", "Q2D1Price", "Q3D1Price", "Q4D1Price".
Scenario 2: If values DO EXIST IN ANY of the 5 fields, "BestPrice1", "Q1D1Price", "Q2D1Price", "Q3D1Price", or "Q4D1Price" in "tblPartsMasters", then the 2nd form I want to open, again leaving the 1st form open, is named "PriceInfo".
Scenario 1: If values DO NOT exist in ANY of 5 fields in a totally separate table named "tblPartsMasters", then I want a 2nd form to open, leaving the "frmOpenOrders" open. The 2nd form to be opened is named "frmPartsMastersEditFromOpenOrdView". The 5 fields in the table named "tblPartsMasters" are "BestPrice1", "Q1D1Price", "Q2D1Price", "Q3D1Price", "Q4D1Price".
Scenario 2: If values DO EXIST IN ANY of the 5 fields, "BestPrice1", "Q1D1Price", "Q2D1Price", "Q3D1Price", or "Q4D1Price" in "tblPartsMasters", then the 2nd form I want to open, again leaving the 1st form open, is named "PriceInfo".