From Clomosy Docs

When a value is selected from each form, it moves the selected value to another page. We can make transactions on the values ​​we carry. The parameters you can use are given in the table below.

Class TPSelectedInfo
Template Parameter
Customers
Rec_Customer_GUID
Rec_Customer_Code
Rec_Customer_Name
Employee
Rec_Employee_GUID
Rec_Employee_Code
Rec_Employee_Name
Item
Rec_Item_GUID
Rec_Item_Code
Rec_Item_Name
Product
Rec_Product_GUID
Rec_Product_Code
Rec_Product_Name
Task
Rec_Task_GUID
Rec_Task_Code
Rec_Task_Name
Group
Rec_Group_GUID
Rec_Group_Code
Rec_Group_Name
Type
Rec_Type_GUID
Rec_Type_Code
Rec_Type_Name
Member
Rec_Member_GUID
Rec_Member_Code
Rec_Member_Name
Master
Rec_Master_GUID
Rec_Master_Code
Rec_Master_Name
BaseCustom
Rec_BaseCustom_GUID
Rec_BaseCustom_Code
Rec_BaseCustom_Name
Activity
Rec_Activity_GUID
Rec_Activity_Code
Rec_Activity_Name
Thread
Rec_Thread_GUID
Rec_Thread_Code
Rec_Thread_Name
Surexam
Rec_Surexam_GUID
Rec_Surexam_Code
Rec_Surexam_Name

Example Description:

Sample:
When the project is opened, the Product template will be entered and the GUID, id and name of each clicked data will be accessed on the transferred page.
When you enter the project, let's call the Product template the "Main Code" section.

{
Clomosy.OpenForm(ftProducts,fdtSingle,froAddNew,ffoNoFilter);
}

Now, let's show the information of the clicked data with ShowMessage as soon as it goes to the other page when clicked. For this, let's select the fields in the Management> Codes section as follows;

Forms: Products.Script
User/Normal : Form
Events : ListView.OnBeforeClick

Let's write the following code in the selected field.

ShowMessage('GUID: '+clTemplateValues.Rec_Product_GUID + ' Code: '+ clTemplateValues.Rec_Product_Code + ' Name: '+ clTemplateValues.Rec_Product_Name);

Now the data has arrived on the next page. You can choose and use it according to where you want to use it in your project in the Management>Codes section.

See Also