home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases
- Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!usc!wupost!monsanto.com!skcla.monsanto.com!jjfink
- From: jjfink@skcla.monsanto.com
- Subject: Re: Paradox bug/feature in query form? (3.5)
- Message-ID: <1993Jan8.084416.1@skcla.monsanto.com>
- Lines: 44
- Sender: news@tin.monsanto.com (USENET News System)
- Organization: Searle, Skokie, IL
- References: <1993Jan7.183802.12921@blaze.cs.jhu.edu>
- Date: Fri, 8 Jan 1993 08:44:16 GMT
-
- In article <1993Jan7.183802.12921@blaze.cs.jhu.edu>, mancini@circle.cs.jhu.edu (Todd A. Mancini) writes:
- >
- > Here's something I noticed in PDOX35, but have not yet tested in PDOX40...
- >
- > When I use a variable name in a query form from PAL (by using the
- > ~variablename) notation, if the variable contains any wildcards they are
- > ignored. Is this documented?
- >...
- > LNAME = "M.."
- >
- > query
- >
- > cust | last_name | first_name |
- > | check ~LNAME | check |
- > | | |
- >
- > endquery
- >
- > DO_IT!
- >
- > does NOT find these customers. I have been able to get around this by using
- > the TYPEIN command, but this is not elegant. Any hints?
- > (mancini@cs.jhu.edu)
-
- That's not a bug, that's a feature. It's documented, though poorly.
- The 'tilde variables' in the query forms can only be used for single-valued,
- non-patterned text. I'd tried to put "123 OR 456 OR 789" in such a variable,
- and again, no dice. TYPEINs are the only way.
-
- Now, what I'd really like is some capability to use string and math functions
- in a query!!! For instance, I should be able to calculate age as the
- integer of (current date - birth date)/365.25, but NOOOOOOO!
-
- So far as I can tell, Paradox has not changed this for 4.0. We can only hope
- PDX/Win will improve the query form.
-
- Joel
-
- --
- jjfink@skcla.monsanto.com
- ------------------------------------------------------------------------------
- "I want peace on earth, and goodwill towards man."
- "We don't do that kind of thing, we're the United States Government!"
- -- from _Sneakers_
-