web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

Form datasource find record method

Hariharans87 Profile Picture Hariharans87 3

Form datasource find record method

Form datasource find record method to find and set that record as current. So, the user can easily identify the record.

We need to pass the table record as parameter to this findrecordmethod.

Syntax:

public boolean findRecord(Common record)

For example:


Here, I have added some code in the button click method to find the record in the form datasource. So, that result record will be focused as current record.

void clicked()
{
    Hari_ExamResult examResult;
   
    select firstOnly1* from examResult
    where examResult.StudentName == 'Hari';
   
    if(examResult)
    {
        Hari_ExamResult_ds.findRecord(examResult);
    }
    super();
}

Result:



Thanks,
Hari

This was originally posted here.

Comments

*This post is locked for comments