Here's what I'm trying to do - Display a message, prior to printing results, that says "There are N dimensions out-of-tolerance, do you still want to print the report?" Of course, I could accomplish this by doing a whole lot of computations with expressions, but I'd thought I'd first inquire if PC-DMIS can set a flag, based upon the Dimension command, that I can convert into a counter.
Is there another way to make this function without going into a VB code ? with only some assign and IF function ?
I tried this but it doesn't work : (I suppose "NUMBEROUTTOL" is not recognised...). And I am not very good with those functions.
...
IF/NUMBEROUTTOL==0
PRINT/REPORT,EXEC MODE=END,$
TO_FILE=ON,AUTO=6,$
TO_PRINTER=OFF,$
TO_DMIS_REPORT=OFF,FILE_OPTION=INDEX,FILENAME=,$
REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$
PREVIOUS_RUNS=DELETE_INSTANCES
END_IF/
ELSE_IF/NUMBEROUTTOL>0
PRINT/REPORT,EXEC MODE=END,$
TO_FILE=OFF,AUTO=3,$
TO_PRINTER=OFF,$
TO_DMIS_REPORT=OFF,FILE_OPTION=INDEX,FILENAME=,$
REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$
PREVIOUS_RUNS=DELETE_INSTANCES
END_ELSEIF/
Is there another way to make this function without going into a VB code ? with only some assign and IF function ?
I tried this but it doesn't work : (I suppose "NUMBEROUTTOL" is not recognised...). And I am not very good with those functions.
...
IF/NUMBEROUTTOL==0
PRINT/REPORT,EXEC MODE=END,$
TO_FILE=ON,AUTO=6,$
TO_PRINTER=OFF,$
TO_DMIS_REPORT=OFF,FILE_OPTION=INDEX,FILENAME=,$
REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$
PREVIOUS_RUNS=DELETE_INSTANCES
END_IF/
ELSE_IF/NUMBEROUTTOL>0
PRINT/REPORT,EXEC MODE=END,$
TO_FILE=OFF,AUTO=3,$
TO_PRINTER=OFF,$
TO_DMIS_REPORT=OFF,FILE_OPTION=INDEX,FILENAME=,$
REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$
PREVIOUS_RUNS=DELETE_INSTANCES
END_ELSEIF/