DatabaseSetCurSel

 

The 'DatabaseSetCurSel' function selects the data of Database object.

 

void @DatabaseSetCurSel(string class_name, int index);

 

Parameters
string class_name : Class name of Database object.

int index : Index that you want to select. (If the number of data is four[10, 20, 30, 40], the index is as follows:10[index = 0], 20[index = 1], 30[index = 2], 40[index = 3])

 

Return Value

None

 

Example

@DatabaseSetCurSel("Database1", 0);

Description : Assume that data of 'Database1' are four[10, 20, 30, 40]. If you excute the above statement, '10'(the data of index '0') is selected.

 

Relate items)

Database object Example