Show DataArea
Use this command to display a DataArea as a Data Grid in a Web browser. This command is specific to Longview Apps.
Note: You cannot use the Show DataArea command in batch mode.
Syntax:
SHOW DATAAREA DataArea [USING DataView] [Width Height]
where:
- DataArea is the name of the DataArea to display. For information on creating DataAreas, see Create DataArea.
- DataView is optional and specifies the Data View definition (.lvdvw) file to use. You can use a Data View definition to define the layout and functionality in a Data Grid. The default path is the path specified in the <rootpath> tag of the .lvapp file. If no root path is specified, the system assumes the root path is the applications folder in the working directory. If you do not specify a Data View definition file, the grid displays the first symbol for the fixed dimensions.
- Width is optional and specifies the width (in pixels or as a percent of the window) of the Data Grid. The default window height is 800 pixels. Indicate a percentage with the percent ( % ) sign. If you do not use a percent sign, the parameter is assumed to be in pixels. If you specify WIDTH, you must also specify HEIGHT.
- Height is optional and specifies the height (in pixels or as a percent of the window) of the Data Grid. The default window height is 600 pixels. Indicate a percentage with the percent ( % ) sign. If you do not use a percent sign, the parameter is assumed to be in pixels. If you specify HEIGHT, you must also specify WIDTH.
Syntax example:
SHOW DATAAREA SalaryPlanning USING "SalaryPlan\SalaryPlanning.lvdvw" 1000 800
Syntax example:
SHOW DATAAREA NetInterestIncome USING "NII\NII.lvdvw" 60% 40%