home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / wildproc.zip / WILDPROC.DOC < prev    next >
Text File  |  1986-11-19  |  880b  |  25 lines

  1. ** WILD PROCEDURE DOCUMENTATION
  2.  
  3. This routine was written by Laurens Meyer, a Clipper user from New Zealand
  4. The routine enables him to select records based on a user-entered wild card.
  5.  
  6. For example, if the user wants all records with the second and third letters
  7. to be XY, and the field in the database on which the match will me made is
  8. 10 characters long, then the WILD procedure is called with a wildcard of
  9. '?XY???????' and the field name.  That is, if the field was called ACCOUNTNO
  10. then the call to WILD would be:
  11.  
  12.    DO wild WITH wildcard,matchmac,'ACCOUNTNO'
  13.    
  14. To use the macro generated, use a filter or a copy command:
  15.  
  16.      SET FILTER TO &matchmac
  17.      GO TOP
  18.      
  19. Now the only records visible will be those that match the wildcard.
  20.  
  21. Thanks to:  Laurens Meyer
  22.             Remarkable Enterprises
  23.             Dunedin, New Zealand
  24.             
  25.