3. Statements : OpenROAD Language Statements : Call Statement : Examples—Call Statement
 
Share this page                  
Examples—Call Statement
Call the OpenROAD inventory application stored in the same database, beginning at the parts frame:
call rundbapp(application = 'inventory',
          startcomponent = 'parts');
Call the OpenROAD application specified in the runimage variable of the current frame, starting at the frame in the framename field:
commit;
call runimage(filename = 'runimage',
          startcomponent = 'framename');
Call QBF with no parameters. The QBF catalog frame is displayed:
commit;
call qbf();
Run Query-by-Forms in insert mode, suppressing status messages, using the QBFName expenses:
commit;
call qbf(qbfname = 'expenses',
          flags = '-mappend -s');
Run a default report on emptable in the column mode:
commit;
call report(name = 'emptable', mode = 'column');
Run a report on a temporary table. Both the temporary table's name and contents are based on user input:
create table :tbl as select * from orders
          where status = :status and custno = :custno;
commit;
call report(name = 'orders',
          param = 'table = "' + :tbl + '"');