Skip to content

TableUsage

This report view does not allow the user to make choices and instead immediately reads the table definitions from the workspace filelist into the RDS array. Then the code attempts to open each table in the filelist to retrieve the number of used rows from the table and adds that value to the RDS array. The pePreviewStyle is set to C_DRPREVIEW_EMBEDDED, which means the cDRReport object must have the size of the preview window and displays the contents directly. The source code demonstrates how to create a file with RDS test data that can be imported via the DataFlex Reports Studio and saved in the report. The LoadRDSData calls the ConvertTableDataToJsonSampleData library function.