07-13-2010, 03:05 PM
haha, i meant qm.i posted that at the end of a long day yesterday.
I used get name, and it worked, so now i have the part number as str name. The part number is in the form 007700, 007701, 007702...007728.
I want to say "if str name = 007704, 007705, 007706 or 007707, then when print is clicked pop up an OK mes window but if str name is NOT 007704, 007705, 007706 or 007707, then dont pop up an ok mes window.
I know how to do the pop up mes window when print is clicked but i dont know how to say that if statement.
Thanks gintaras for the help.
I used get name, and it worked, so now i have the part number as str name. The part number is in the form 007700, 007701, 007702...007728.
I want to say "if str name = 007704, 007705, 007706 or 007707, then when print is clicked pop up an OK mes window but if str name is NOT 007704, 007705, 007706 or 007707, then dont pop up an ok mes window.
I know how to do the pop up mes window when print is clicked but i dont know how to say that if statement.
Thanks gintaras for the help.
