hexagon logo

Drop Down List

Here is a utility to give you a Drop Down List in PCDMIS.

Go here to find it.



Linky

Suggested locations: C:\PCDUTIL\

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.
Parents
  • Okay...so this is an external program that passes a value back into PC-DMIS, is it done through the variable DROPLIST?

    Yes

    How is this value passed back?

    Directly back to the variable object in PCDMIS. That is why the Variable has to exist in PCDMIS first.

    What language is the external program written in?

    VB6

    Can anything capable of returning a value on the MS-DOS command line be used?


    Not sure I understand the question.
Reply
  • Okay...so this is an external program that passes a value back into PC-DMIS, is it done through the variable DROPLIST?

    Yes

    How is this value passed back?

    Directly back to the variable object in PCDMIS. That is why the Variable has to exist in PCDMIS first.

    What language is the external program written in?

    VB6

    Can anything capable of returning a value on the MS-DOS command line be used?


    Not sure I understand the question.
Children
No Data