home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / database / 8035 < prev    next >
Encoding:
Text File  |  1992-11-22  |  2.3 KB  |  55 lines

  1. Newsgroups: comp.databases
  2. Path: sparky!uunet!uunet.ca!canrem!dosgate!dosgate![tom.frazer@canrem.com]
  3. From: "tom frazer" <tom.frazer@canrem.com>
  4. Subject: query by example?
  5. Message-ID: <1992Nov23.4373.10777@dosgate>
  6. Reply-To: "tom frazer" <tom.frazer@canrem.com>
  7. Organization: Canada Remote Systems
  8. Distribution: comp
  9. Date: 23 Nov 92 05:19:21 EST
  10. Lines: 43
  11.  
  12.  
  13. ======\ Quoting: GARY BARTOW \======\ On: 11/21/1992 \===========
  14.  
  15. GB> I just heard the phrase "Query By Example" and was wondering if anyone
  16. GB> knew what it was all about.  It seems to be a technique to help users f
  17. GB> their queries more precisely.
  18.  
  19. ======================================\ END QUOTE \======================
  20.  
  21.     It refers to a method of building an example, on the screen, of the
  22. type of data you want displayed from a search.
  23.     It does NOT work with dBASEs RUNTIME module, so unless your customer
  24. has the full dBASE package it is useless to try it.
  25.     IMO, it's not too difficult to learn but is not easy either. It
  26. involves selecting the database fields you want to view from across the
  27. top of the screen. These are then pulled down to the bottom of the screen
  28. and show the order of the fields as they will come up on the display, then
  29. if necessary, you must build a condition box to select the criteria of the
  30. data to be displayed.
  31.  In dBASE it looks kinda like this
  32.  
  33. ----------------------------------------------------------------------
  34.          :           :         :           :
  35. database : v field_1 : field_2 : v field_3 : etc..
  36. ----------------------------------------------------------------------
  37.                                  ^indicates field to be used in query
  38.                                   (clicked on with a mouse or from menus)
  39.  
  40.                                                    --------------------
  41.                                                       CONDITION BOX
  42.                                                     field_1 = SUBSTR(test)
  43.  
  44.           --------------------------               --------------------
  45.             field_1 : field_3 : etc
  46.           --------------------------
  47.  
  48.     Personally I prefer to program search choices in, also I use the
  49. Runtime package so this can't be used.
  50. ---
  51.  . MegaMail 2.10 : A happy life has memories u don't want to repeat
  52. --
  53. Canada Remote Systems  - Toronto, Ontario
  54. World's Largest PCBOARD System - 416-629-7000/629-7044
  55.