You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

[ |../../index.htm#lansa/srvgudba_0385.htm]
You are here:

6.49.2 C Example

BOOL fOK;
int  iSession;
int  iRecords;
 
fOK = LceSetSelectOptions(iSession, "*BACKWARDS,  *MAXREC25");
fOK = LceRequestSelect(iSession, "SURNAME, SALARY", "PSLMST", "", FALSE);
fOK = LceReceiveSelect(iSession, "PSLMST");
fOK = LceGetRecordCount(iSession, "PSLMST", &iRecords);
for (iCount=0; iCount < iRecords; i++)
{
    fOK = LceGetSelect(iSession, "PSLMST", iCount, "SURNAME, SALARY");
}
 
[ |../../index.htm#lansa/srvgudba_0385.htm]

  • No labels