Target Screen | |
---|---|
|
Create Controls for data retrieval.
To create a title for Joining Period(i.e., employment start period), select [UI Bot] > [Label].
Text : Period
3. To create a calendar Control for query condition, go to [UI Bot] > [Calendar] > [D From To].
4. Modify the properties of the Control.
Name : VS_FROM_DATE
Name2 : VS_TO_DATE
InitDate : DATE(-10,F,F);NOW()
To create a title for Division Control, select [UI Bot] > [Label].
Text : Division
3. Create a ComboBox Control for query condition by selecting [UI Bot] > [ComboBox] > [MultiCombo].
4. Modify the properties of the Control.
Name : VS_DIVISION
DataSource : DIVISION(Using the common data source)
CaptionField : DIVISION
ValueField : DIVISION
UseSelectText : Activate
AutoRefresh : Activate
1. Connect the "GRID" Datasource to the grid Control and execute the report to ensure it runs correctly.
SELECT T1.EMP_NO , 'U0' AS IMG , T1.EMP_NM , T1.DIVISION , T1.EMP_RANK , T1.GENDER , T1.BIRTH_DATE , T1.ENTER_DATE , T1.EMAIL , T1.PHONE_NO , T1.LEAVE_YN , T1.ETC , T1.C_USER , T1.C_DATE , T1.U_USER , T1.U_DATE FROM EDU_DEV_EMPLOYEE_EN T1 WHERE 1=1 AND T1.ENTER_DATE BETWEEN @:VS_FROM_DATE AND @:VS_TO_DATE AND T1.DIVISION IN (@:VS_DIVISION) ORDER BY DIVISION , T1.EMP_NO |
1. To edit the design of the [List-Grid] Control, right-click the Control and select [Design] to open the Design window.
2. Select all unused fields in the report and disable [Show] property.
C_USER, C_DATE, U_USER, U_DATE : Disable [Show] Property
3. Change the data alignment of the fields.
[Alignment] - [Data Alignment] : Center
4. Change the field type to allow easier value modification.
No. | Field | Field Type | Option |
---|---|---|---|
1 | IMG | Image | |
2 | DIVISION | ComboBox | Datasource : DIVISION |
3 | EMP_RANK | ComboBox | Datasource : EMP_RANK |
4 | GENDER | ComboBox | Defined items : female;F|male;M |
5 | BIRTH_DATE | DateTime | Format > {0:dd-MM-yyyy} |
6 | ENTER_DATE | DateTime | Format > {0:dd-MM-yyyy} |
7 | PHONE_NO | MaskEdit | Format > 000-0000-0000 |
8 | LEAVE_YN | CheckBox | CheckedValue : Y, UnCheckedValue : N |
5. Disable the [Editable] property for [IMG] and [EMP_NM].
6. Move the IMG and DIVISION fields to the top.
7. Configure settings to merge cells based on the DIVISION field.
IMG~ETC : Disable Filterable, Mergeable
Merge Type : Vertical
8. Configure settings to change the style of the columns.
9. Execute the report to check if the configured designs are applied successfully.
Use the Formula Editor to calculate YOS(Years of Service) and Employees count(The Number of Employees).
Click [Design] on the ListGrid to open the Design window and add calculataed fields.
Caption : YOS
Editable : Disable
Mergeable : Disable
4. Click the button under Data - Formula to open the Formula Editor.
5. From the list on the left, select the YEAR function and [ENTER_DATE] field to create the formula, then click Apply button to complete the formula setup.
6. Click the button next to Format section to open the Format Editor window, then enter "{0:N0} Year" as the number format.
7. Set Data Alignment.
Alignment - Data Alignment : Center
8. Execute the report to check if the YOS field is successfully added.
Display the number of employees using the Formula in Label .
Select the [Label2] Control at the top-right of the ListGrid and click the button under the Formula to open the Formula Editor.
Click "[Form Name]'s Controls" at the top right. In the popup window, you can view the list of Controls, and modify their Visible status and the properties of the selected Control. |
Display Total, Female, Male Count as text by connecting text and COUNTIF function with + operator.
|
Use the Create Input Form and DB Upload features to configure Data create, read, update, and delete operations.
Connect input Control and the List-Grid using the Create Input Form.
Right-Click the List Grid Control in [Edit Mode], and select [Create Input Form] section.
2. When the [Input Form Settings] window appears, enter the number of rows or columns to generate and click [OK]. Labels and input Controls will be created based on the field types in the List Grid.
3. Arrange the Controls as shown in the target screen.
In addition, the text or the style of each Control can be modified. |
Select [DB Bot] > [DB Upload] to open Execution Plan Design window.
|
Verify that columns are automatically mapped when connecting the Data Control.
[Data Control] : DataGrid
Configure data CRUD operations and screen transition using Process Bot.
Configure CRUD operations using Modules.
Select the options according to the Module status.
Click the [Save] button to complete the Module settings.
Set navigation to another form when a button is clicked within the Report.
Select the options according to the Module structure.
Set it to navigate to the Log Form and trigger a quert on the DataGrid1 Control when the [BTN_LOG] is clicked.
Click the [Save] button to complete the module configuration.
5. Connect the [BTN_LOG] > OnClick event to the Module.
6. Set it to navigate to the MAIN Form when the [BTN_MAIN] button is clicked.
7. Double-click the [BTN_MAIN] Control.
8. In the [Activities] tab, go to Modules > By Controls > Form, and double-click ‘Activate the Form(Move to other form + Query Configuration)’ Module.
Click Module icon(
) to configure the detailed options.Select the appropriate options according to the Module configuration.
Set it to navigate to MAIN Form and to Query using DataGrid Control when [BTN_LOG] is clicked.
Click the [Save] button to complete the module setup.
9. Connect [BTN_MAIN] > OnClick event to the Module.
10. Save it after checking the process bot is configured as shown below.
11. Check if the report works as expected.