|
|
|
|
Screen,FileToScreen (External language) In french: Ecran,FichierVersEcran Initializes the window controls with the values of the file items linked to the controls. // In C HReadFirst("CUSTOMER","NAME") if!HOut() { CALLWD("Screen,ScreenToFile"); else CALLWD("Error,Empty file"); } // In Pascal HReadFirst("CUSTOMER","NAME"); If not HOut() then CALLWD('Screen,'FileToScreen') else CALLWD('ERROR,Empty file'); // In VB if not HOut() then Call CALLWD("Screen,FileToScreen") else call CALLWD("ERROR,Empty file") End If Remarks - Screen, FileToScreen does not read the file. The controls are initialized with the record loaded in memory. A record must necessarily be loaded in memory before calling this function.
- In case of direct link, Screen, FileToScreen transfers the value of the items for the record loaded in memory into the linked controls, without performing any read operation.
- In case of link with search in a linked file, the search is performed in the linked file before transferring the value of the items into the control.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|