Oct 6, 2003 #1 giggs11 Programmer Joined Dec 5, 2001 Messages 21 Location CA How do I prompt a user that if C16 has a value($Amount), that C15 must have a code(ProductCode) and vice versa?
How do I prompt a user that if C16 has a value($Amount), that C15 must have a code(ProductCode) and vice versa?
Oct 6, 2003 #2 crazybird Technical User Joined Jan 19, 2003 Messages 49 Location US Using the macro language: {IF C16#AND#@ISERR(@VLOOKUP(C15;PRODCUTcodes;0))}{ALERT "Product code required in C15";;"caution"} The macro should all be on a single line (which can not be displayed that way here). PRODUCTcodes is the table of allowable codes. Upvote 0 Downvote
Using the macro language: {IF C16#AND#@ISERR(@VLOOKUP(C15;PRODCUTcodes;0))}{ALERT "Product code required in C15";;"caution"} The macro should all be on a single line (which can not be displayed that way here). PRODUCTcodes is the table of allowable codes.