Table of Content
HAL Forum
function boolean WindowDoOK (
integer WindowID,integer Reserved)
Description:
Calls the save record event (same as pressing "Save" button) for the specified window. Returns TRUE if the record was stored without any errors.
Parameters:
WindowID Record Window that has UseView defined
Reserved Reserved for internal use. Should be set to 0.
// Load DEMO data before testing this
// This will run right after HansaWorld has been started
global
updating procedure OnApplicationStartup()
begin
    record IVVc IVr;
    integer wn; 
    
    SetCompany(1,true);
    LoopMain(IVr,1,true);
    wn = OpenWindow("IVDClass",0,0,"","",IVr);
    WindowDoDuplicate(wn,0);
    WindowDoOK(wn,0);
  return;
end;
Related topics:
««