From Clomosy Docs
Only premium accounts can use this.
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.
Template | Parameter |
---|---|
Customers |
|
Employee |
|
Item |
|
Product |
|
Task |
|
Group |
|
Type |
|
Member |
|
Master |
|
BaseCustom |
|
Activity |
|
Thread |
|
Surexam |
|
Example Description:
clTemplateValues.Rec_Product_GUID
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.