KEL( ) |
Return Last Key of File |
KEL(chan[,fileopt])
Where:
chan |
Channel or logical file number of the file to reference. | ||||||
fileopt |
Supported file options (see File Options):
| ||||||
stmtref |
Program line number or statement label to which to transfer control. |
Key of last record in file.
The KEL( ) function returns the key of the last record in the file specified. The result is based on the:
PxPlus supports the KEL( ) function for ODBC files.
open (1) "CUSTNO"
......
F$=kef(1),L$=kel(1)
print "Customers range from ",F$,"->",L$
......
end