open a new window with input-felds
part of tools-object
this is a old german function ...
// open choose window
// NOTE: You must write all in one line. & Signs are not allowed
tools=auswahl=titel=Choose Window/
myitem,Choose item=S= =select "ItemCode","ItemName" from "OITM"/
mycardcode,Choose Supplier=S= =select "CardCode","CardName" from "OCRD"
// Return the result in variable: aa + ":" + field name, example: <aa:myitem>
messagebox=Item: <aa:myitem>, CardCode: <aa:mycardcode>
field definition
name |
the object name after comma the display name (optional) Name to display (use german word-id, if you want to work international
special is "titel". With this key-word you can set the title Example title=Hello world
beas return the value in the field aa:name if you need a other displaytext, you can set the text after name + comma + word (or wordId) |
typ |
N = numeric, S = String, D=Date |
default |
default string typ D: you can use "monatanfang" for begin of month) typ S: if the string start with "noedit" you have only a dropdown-field without input field |
dropdown |
dropdown command
select returnvalue,displayvalue,displayvalue ... from table where ... value=returnvaule:displayvalue,returnvalue:displayvalue
for displayvalue use german word id |
return all values in Variable aa:[name]. Example
tools=auswahl=myvalue,insert value=S/number,insert number=N=0
messagebox=result: <aa:myvalue>, <aa:number>
Example
tools=auswahl=titel=my choose list/myvalue,insert value=S/number,insert number=N=0/mylist,choose color=S=noedit:red=value=red:r,blue:b,yellow:y/mydate,insert date=D=monatanfang
messagebox=<aa:myvalue> <aa:number> <aa:mylist>