Home > Archive > Getting Started with dBASE > October 2006 > Re: Can I use a varible to set the filter?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Can I use a varible to set the filter?
Ken Mayer [dBVIPS]

2006-10-25, 7:23 am

Forrest Ganther wrote:
> I want to use a variable as the filter criteria,
> but I can't figure out how. Even Ken's book
> doesn't address that. Is it possible?
>
> If not how can I work around?


Sorry about that, I couldn't squeeze everything into that book, large as
it is. <g>

As others have pointed out, there are ways. The simplest thing to
remember is that the filter is just a character string, so if you can
build a string that would evaluate to a logical value, it should work
for your filter.

Ken

--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/

*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/dbase/dBASEBook.htm
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com