Jump to content

Merkmalsgruppe mit PCM auswählen


Recommended Posts

Hallo Markus,

bitte den angehängten PCM-Text in die Eingangseinstellungen vom Prüfplan kopieren. Es ist mit einer 3-fachschleife abgesichert. So das der Anwender eine Auswahl treffen muss. Beim dritten mal ohne Auswahl bricht Calypso ab.
Der eigentliche Befehl ist inquireList. Mit setRunID startet man die Merkmalsgruppe.

PCM.docx

  • 5 months later...
  • 2 weeks later...
Another option is to instead of using len() to see if a variable is valid, at the beginning of the section set the variable to "". This forces a loop until someone makes a selection. No backing out. Use this whenever you have an input dialog to ensure a value is present before progressing. The follow snippet in the program presettings ensures that a value was input for the userfields. If not, a prompt appears forcing a value so the report isn't blank in that field.

if getRecordHead("u_Shift") == ""
repeat
shift= ""
shift = inquireList("Which Shift","1","2","3")
setRecordHead("u_Shift",shift)
until text(shift) <> ""
endif
×
×
  • Create New...