cmmguy
11-27-2007, 02:45 PM
Here is a utility to give you a Drop Down List in PCDMIS.
Download(right-click and click "save link as") the program and save it in your pcdmis programs folder(or where every you want to).
Suggested locations: C:\PCDUTIL\
File Moved: New Location (http://www.cmmguys.com/forum/showthread.php?t=153)
After downloading, rename the extension from .txt to .exe
Usage:
STARTUP =ALIGNMENT/START,RECALL:, LIST= YES
ALIGNMENT/END
LOADPROBE/TP20-3X50
COMMENT/DOC,NO,***************************
COMMENT/DOC,NO,Preload the "NO ANSWER" to check for no response from operator
ASSIGN/DROPLIST = "NO ANSWER"
COMMENT/DOC,NO,***************************
COMMENT/DOC,NO,Command line to get the drop down. PCDMIS has a 256 character limit per line.
EXTERNALCOMMAND/NO_DISPLAY, WAIT ; C:\PCDUTIL\DROPLIST.EXE Choose Operator|Ted Bundy|Henry Lee Lucas|John Wayne Gacy|Jeffrey Dahmer
COMMENT/DOC,NO,***************************
COMMENT/DOC,NO,Test for "NO ANSWER" and branch to end of program(handle as you want)
IF_GOTO/DROPLIST == "NO ANSWER",GOTO = END_OF_PRGM
COMMENT/DOC,NO,***************************
COMMENT/DOC,NO,
COMMENT/DOC,NO,***************************
COMMENT/DOC,NO,Just a comment to test the results
COMMENT/OPER,YES,DROPLIST
COMMENT/DOC,NO,***************************
COMMENT/DOC,NO,
COMMENT/DOC,NO,
COMMENT/DOC,NO,Part Program here.....
COMMENT/DOC,NO,
COMMENT/DOC,NO,
COMMENT/DOC,NO,***************************
COMMENT/DOC,NO, Here is the Label that the above test goes to.
END_OF_PRGM=LABEL/
EXTERNALCOMMAND/NO_DISPLAY, WAIT ; C:\PCDUTIL\DROPLIST.EXE Choose Operator|Ted Bundy|Henry Lee Lucas|John Wayne Gacy|Jeffrey Dahmer
The parameters for the utility are:
Drop Down List Title Required
Field delimiter(Pipe) Required
List items At least one required
List items are show in the order that they are entered. A sort does not occur.
The variable in PCDMIS must be DROPLIST.
Download(right-click and click "save link as") the program and save it in your pcdmis programs folder(or where every you want to).
Suggested locations: C:\PCDUTIL\
File Moved: New Location (http://www.cmmguys.com/forum/showthread.php?t=153)
After downloading, rename the extension from .txt to .exe
Usage:
STARTUP =ALIGNMENT/START,RECALL:, LIST= YES
ALIGNMENT/END
LOADPROBE/TP20-3X50
COMMENT/DOC,NO,***************************
COMMENT/DOC,NO,Preload the "NO ANSWER" to check for no response from operator
ASSIGN/DROPLIST = "NO ANSWER"
COMMENT/DOC,NO,***************************
COMMENT/DOC,NO,Command line to get the drop down. PCDMIS has a 256 character limit per line.
EXTERNALCOMMAND/NO_DISPLAY, WAIT ; C:\PCDUTIL\DROPLIST.EXE Choose Operator|Ted Bundy|Henry Lee Lucas|John Wayne Gacy|Jeffrey Dahmer
COMMENT/DOC,NO,***************************
COMMENT/DOC,NO,Test for "NO ANSWER" and branch to end of program(handle as you want)
IF_GOTO/DROPLIST == "NO ANSWER",GOTO = END_OF_PRGM
COMMENT/DOC,NO,***************************
COMMENT/DOC,NO,
COMMENT/DOC,NO,***************************
COMMENT/DOC,NO,Just a comment to test the results
COMMENT/OPER,YES,DROPLIST
COMMENT/DOC,NO,***************************
COMMENT/DOC,NO,
COMMENT/DOC,NO,
COMMENT/DOC,NO,Part Program here.....
COMMENT/DOC,NO,
COMMENT/DOC,NO,
COMMENT/DOC,NO,***************************
COMMENT/DOC,NO, Here is the Label that the above test goes to.
END_OF_PRGM=LABEL/
EXTERNALCOMMAND/NO_DISPLAY, WAIT ; C:\PCDUTIL\DROPLIST.EXE Choose Operator|Ted Bundy|Henry Lee Lucas|John Wayne Gacy|Jeffrey Dahmer
The parameters for the utility are:
Drop Down List Title Required
Field delimiter(Pipe) Required
List items At least one required
List items are show in the order that they are entered. A sort does not occur.
The variable in PCDMIS must be DROPLIST.