home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases
- Path: sparky!uunet!uunet.ca!canrem!dosgate!dosgate![tom.frazer@canrem.com]
- From: "tom frazer" <tom.frazer@canrem.com>
- Subject: query by example?
- Message-ID: <1992Nov23.4373.10777@dosgate>
- Reply-To: "tom frazer" <tom.frazer@canrem.com>
- Organization: Canada Remote Systems
- Distribution: comp
- Date: 23 Nov 92 05:19:21 EST
- Lines: 43
-
-
- ======\ Quoting: GARY BARTOW \======\ On: 11/21/1992 \===========
-
- GB> I just heard the phrase "Query By Example" and was wondering if anyone
- GB> knew what it was all about. It seems to be a technique to help users f
- GB> their queries more precisely.
-
- ======================================\ END QUOTE \======================
-
- It refers to a method of building an example, on the screen, of the
- type of data you want displayed from a search.
- It does NOT work with dBASEs RUNTIME module, so unless your customer
- has the full dBASE package it is useless to try it.
- IMO, it's not too difficult to learn but is not easy either. It
- involves selecting the database fields you want to view from across the
- top of the screen. These are then pulled down to the bottom of the screen
- and show the order of the fields as they will come up on the display, then
- if necessary, you must build a condition box to select the criteria of the
- data to be displayed.
- In dBASE it looks kinda like this
-
- ----------------------------------------------------------------------
- : : : :
- database : v field_1 : field_2 : v field_3 : etc..
- ----------------------------------------------------------------------
- ^indicates field to be used in query
- (clicked on with a mouse or from menus)
-
- --------------------
- CONDITION BOX
- field_1 = SUBSTR(test)
-
- -------------------------- --------------------
- field_1 : field_3 : etc
- --------------------------
-
- Personally I prefer to program search choices in, also I use the
- Runtime package so this can't be used.
- ---
- . MegaMail 2.10 : A happy life has memories u don't want to repeat
- --
- Canada Remote Systems - Toronto, Ontario
- World's Largest PCBOARD System - 416-629-7000/629-7044
-