From Clomosy Docs
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<div class="alert alert-danger" role="alert" data-bs-theme="light"> | <div class="alert alert-danger" role="alert" data-bs-theme="light"> | ||
Only | Only premium accounts can use this. | ||
</div> | </div> | ||
Revision as of 08:13, 15 October 2024
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.
begin Clomosy.OpenForm(ftProducts,fdtSingle,froAddNew,ffoNoFilter); end;
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.