Table of Content
HAL Forum
procedure WindowDoDuplicate (
integer WindowID,integer Reserved)
Description:
Calls the duplicate record event (same as pressing "Duplicate" button) for the specified window.
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);

  return;
end;
Related topics:
««