Working with Studio Reports Frames
Applies to: Kyvos Reporting
The Frame control allows you to conditionally display different data sets based on runtime conditions. It is useful in scenarios where content visibility must vary depending on the user or context in which the report is executed.
Example Scenario
Consider the following requirement:
End User: When an individual user runs the report, display only their own login time, logout time, and session duration (in minutes).
Administrator: When an admin runs the same report, show login/logout times, duration, and data transfer (in MB) for all users under their supervision.
This type of dynamic display customization can be achieved using Frame control.
What Is Frame Control?
A Frame control is a container that holds multiple controls—such as text fields, data fields, and labels. You can place multiple frame controls in a section and use scripting to show or hide a particular frame based on runtime conditions.
You can configure frame visibility using script logic in the Format event or other appropriate events.
How It Works
Each frame contains a different layout or combination of data fields.
Scripting logic determines which frame is visible at runtime.
All frames occupy the same section or position, but only one is visible at a time based on the condition.
Example Layout
In the Detail section of the report layout:
Frame 1: Contains login/logout/duration fields (for end user).
Frame 2: Contains login/logout/duration and data transfer fields (for admin).
Frame 3: Could be configured for other roles (e.g., auditors, support staff).
Read more: