home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!rocket!newshost!pitaro
- From: pitaro@joker.sanders.lockheed.com (Michael Pitaro)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: Re: Queries under CodeBase 4.5 for Windows
- Message-ID: <PITARO.92Sep4223326@joker.sanders.lockheed.com>
- Date: 5 Sep 92 02:33:26 GMT
- References: <=ylnxvn.whedon@netcom.com>
- Sender: news@rocket.sanders.lockheed.com
- Reply-To: pitaro@rocket.sanders.com
- Distribution: na
- Organization: Lockheed Sanders, Inc.
- Lines: 27
- In-reply-to: whedon@netcom.com's message of 3 Sep 92 18:37:12 GMT
-
- In article <=ylnxvn.whedon@netcom.com> whedon@netcom.com (Bill Whedon) writes:
-
- From: whedon@netcom.com (Bill Whedon)
- Keywords: CodeBase Windows Queries
- Date: 3 Sep 92 18:37:12 GMT
-
- I'm having a bit of fun with CodeBase 4.5 at the moment, trying to figure
- out (in the absence of example code) how to do the following:
- I have a database with customer records and sales info
- I want to do the following selection:
- SALES_DOLLARS > 1000 AND CREDIT_AVA >= 10000
- And build a new .DBF file from the result
-
- This should be relatively easy to do (famous last words), unless
- you're leaving something out. :-) There are examples in the manual for
- printing out an database using a filter (e.g. CodeBase 4.5 Manual,
- page 201). Modify that one to print to a flat file i.e. to disk.
- After you print out to a flat file you can read it in again by
- modifying another example program in the book (CodeBase 4.5 Manual,
- page 9). There are other ways to do this but this one is conceptually
- simple.
- --
- Michael Pitaro Lockheed Sanders, Inc.
- PO Box 868, MER24-1583C
- Signal Processing Center of Technology Nashua, NH 03061-0868
- pitaro@rocket.sanders.com 603/885-9794 (Voice)
- (or) ...!uunet!rocket!pitaro 603/885-0631 (FAX)
-