Hi all,
i'm poor at English,But would you help me??
When one of the records in LookUp form
(made from "employee" table which consists of the three fields:
store_id(primary key1), employee_id(primary key2) , menber_name) is clicked,
I want to acquire 2 kinds of ID: its store_id and its employee_id. (these are set of primary key)
finally, i want to display its store_id on a intEdit, and its employee_id on another intEdit.
But in the code which i made, i can only get 1 kind of ID: its store_id or its employee_id.
my code------
public void lookUp()
{
SysTableLookUp stLookUp;
QueryBuildRange qbRange;
QueryBuildDataSource qbDS;
Query q;
;
//super();
stLookUp = SysTableLookup::newParameters(tableNum(employee), this);
qbDS = q.addDataSource(tableNum(employee));
stLookUp.addLookUpField(fieldNum(employee, store_id) /* , true */ );
stLookUp.addLookUpField(fieldNum(employee, (employee_id), true);
stLookUp.addLookUpField(fieldNum(employee, (menber_name));
stLookUp.parmQuery(q);
stLookUp.performFormLookUp();
}
----------
The method(addLookUpField)'s second item is boolean type,
but I want to 2 returnItems.
so I can only choose a kind of Field.
Is there any good way?