layoutgrid{[f2 ][f1 ]}endendattributesf1 = formonly.field1;f2 = formonly.field2;phantom formonly.field3;end
main define rec record field1 integer, field2 varchar(50), field3 varchar(50) end record open form f1 from "f1" display form f1 options input wrap, field order form input by name rec.* without defaults before field field1 display "bf field1" on change field2 display "oc field2" after field field3 display "af field3" end inputend main
OPTIONS FIELD ORDER FORM # code to create form# or code to hide unused fields INPUT BY NAME int1, int2, int3, ...,intn, date1, date2, date3, ..., daten, char1, char2, char3, ..., charn, dec1, dec2, dec3,...,decn