S
Soni
I need to write MANY if...then events. I have my tables and need to write a
query based on the YES/NO answer of a box I am going to put in my form. I
want to write/do the following:
IF the value in the YES/NO check box on the ORDERS form is YES (or -1) then
show the ON-SITE DATE box, the VENDOR drop-down list, the TELEPHONE MODEL
box, and the SHIP DATE box. IF the value in the YES/NO check box on the
ORDERS form is NO (or 0) do nothing.
So that is one of many I need to write and I cannot find out what all of the
specific language that is used or needed to make it read properly. NEXT I
need to have a prompt for my next query as follows:
IF First Ink Color is any value but null then pop-up a prompt dialog box
asking DO YOU NEED A SECOND INK COLOR? IF the value is YES (-1) then show the
SECOND INK COLOR box and if the value is NO (0) then finish. If the SECOND
INK COLOR is any value other than null prompt DO YOU NEED A THIRD INK COLOR?
If the value is YES then show the Third INK COlor box etc
There has got to be an easier way to writing this stuff. I am not a VB
person but do have some computer intelligence, if only in the nano amounts!
query based on the YES/NO answer of a box I am going to put in my form. I
want to write/do the following:
IF the value in the YES/NO check box on the ORDERS form is YES (or -1) then
show the ON-SITE DATE box, the VENDOR drop-down list, the TELEPHONE MODEL
box, and the SHIP DATE box. IF the value in the YES/NO check box on the
ORDERS form is NO (or 0) do nothing.
So that is one of many I need to write and I cannot find out what all of the
specific language that is used or needed to make it read properly. NEXT I
need to have a prompt for my next query as follows:
IF First Ink Color is any value but null then pop-up a prompt dialog box
asking DO YOU NEED A SECOND INK COLOR? IF the value is YES (-1) then show the
SECOND INK COLOR box and if the value is NO (0) then finish. If the SECOND
INK COLOR is any value other than null prompt DO YOU NEED A THIRD INK COLOR?
If the value is YES then show the Third INK COlor box etc
There has got to be an easier way to writing this stuff. I am not a VB
person but do have some computer intelligence, if only in the nano amounts!