Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Typical Search Code from a VLF-WIN Filter*  Indicate start of list update and set the framework to busy
Invoke Method(#avListManager.BeginListUpdate)
 
 
*  Select employee records using full or partial surname in surname order and add to instance list
Select Fields(#EMPNO #GIVENAME #SURNAME #DEPTMENT #SECTION #ADDRESS1 #PHONEHME #POSTCODE) From_File(PSLMST2) With_Key(#SURNAME) Generic(*YES)
 
*

Image Added

  add an entry to the instance list on the right of the filter
 
Invoke Method(#avListManager.AddtoList) Visualid1(#Empno) Visualid2(#FullName) Akey1(#Deptment) Akey2(#Section) Akey3(#Empno) Acolumn1(#Phonehme) Acolumn2(#Address1) Ncolumn1(#PostCode)
 
Endselect
 
*  Indicate end of list update
Invoke Method(#avListManager.EndListUpdate)
 
 
Typical Search Code from a VLF-ONE Filter

You need both a client side program and a server side program.

Client Side (a Reusable Part, Target Platform Web - See Example DF_T41F1O).

It makes the call to the server module, receives the data back as a list, and writes the data from the list to the instance list:

...

Image Added

Server

...

Side Program (a Server Module - See Example DF_T42DSO)

It does the database IO and passes the data back to the client program, as a list:

...

Image Added