home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
database
/
wildproc.zip
/
WILDPROC.DOC
< prev
next >
Wrap
Text File
|
1986-11-19
|
880b
|
25 lines
** WILD PROCEDURE DOCUMENTATION
This routine was written by Laurens Meyer, a Clipper user from New Zealand
The routine enables him to select records based on a user-entered wild card.
For example, if the user wants all records with the second and third letters
to be XY, and the field in the database on which the match will me made is
10 characters long, then the WILD procedure is called with a wildcard of
'?XY???????' and the field name. That is, if the field was called ACCOUNTNO
then the call to WILD would be:
DO wild WITH wildcard,matchmac,'ACCOUNTNO'
To use the macro generated, use a filter or a copy command:
SET FILTER TO &matchmac
GO TOP
Now the only records visible will be those that match the wildcard.
Thanks to: Laurens Meyer
Remarkable Enterprises
Dunedin, New Zealand