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_0425.htm]
You are here:

6.53.2 C Example

BOOL fOK;
int  iSession;
int  iRecordCount;
int  i;
long lFlags;
 
fOK = LceSetSelectOptions(iSession, "*BACKWARDS,  *MAXREC25");
 
fOK = LceSelect(iSession, "SURNAME, SALARY", "PSLMST", "", 
         FALSE, &iRecordCount);
for (i=1; i <= iRecordCount; i++)
{
         fOK = LceGetSelect(iSession, "PSLMST", i, "SURNAME, SALARY");
         fOK = LceGetFieldValueX(iSession, "SURNAME", (char far *) strSurname, lFlags);
}
 
[ |../../index.htm#lansa/srvgudba_0425.htm]

  • No labels