Visual LANSA Framework filters and command handlers have normally one Webroutine. Thus to maintain the state of fields in Framework filters and command handlers is quite simple. You must include the fields in a Web_Map. You would normally define a Web_Map for both input and output.
This means that the simple incremental program defined earlier as:
Would function correctly when coded like this:
Function Options(*Direct)Define #Number *dec 7 0 default(0)Web_Map For(*both) Fields(#Number)Webroutine Name(UHandleEvent)etcEndroutine