home *** CD-ROM | disk | FTP | other *** search
- /*
- set a filter for the database and try it
- this example prints out a Collection of all values for the
- "lname" field between record numbers 5 and 15 inclusively
-
- NOTE - you must run the "CRDEMO.DO" program to create the
- patient database before running this program
- */
- db = new(Dbffile,"patient");
- setFilter(db,#(recno(db) > 5L) & (recno(db) < 15L));
- ? asCollection(db,#trim(lname));
- close(db);
- ? memory();
-