home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / database / 9274 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  1.1 KB

  1. Path: sparky!uunet!think.com!hsdndev!nmr-r!helix.mgh.harvard.edu!brousseau
  2. From: brousseau@helix.mgh.harvard.edu
  3. Newsgroups: comp.databases
  4. Subject: menu
  5. Message-ID: <1993Jan21.074103.1@helix.mgh.harvard.edu>
  6. Date: 21 Jan 93 12:41:03 GMT
  7. Sender: usenet@nmr-z.mgh.harvard.edu (User for USENET news postings)
  8. Organization: Mass General Hospital
  9. Lines: 12
  10. Nntp-Posting-Host: helix.mgh.harvard.edu
  11.  
  12. I've encountered a problem with PAL that I need help with. Simply,
  13. how can I perform a query / endquery, using a string variable which
  14. contains operators? 
  15. Example, I want to ask the user to input a (limited) range of 
  16. days by checking a box either Y = Yes, include Monday or N = No, 
  17. do not include Wednesday. I've gone through the response and
  18. made a string that would look something like this: "..MON.. AND NOT ..WED..",
  19. placed it into the query form, Database | ~string |, but it doesn't work.
  20. I think it is because the query is looking for a literal interpretation of
  21. the string, instead of parsing the data and operators. Anyone? The best I
  22. can think of at the moment is multiple queries, but that can take a _long_
  23. time. Thanks.
  24.