home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / xbase / compiler / doobject / locate.do < prev    next >
Text File  |  1991-07-06  |  265b  |  15 lines

  1. /*
  2.     demonstrate the "locate" method with and without the "softseek"
  3.     option
  4. */
  5. db = new(Dbffile,"patient");
  6. set("softseek",T);
  7. top(db);
  8. locate(db,"lname","lname10");
  9. ? recno(db);
  10. set("softseek",F);
  11. top(db);
  12. locate(db,"lname","lname10");
  13. ? recno(db);
  14.  
  15.