Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!dalcs!dalcsug!mackay From: mackay@dalcsug.UUCP Newsgroups: comp.sys.apple Subject: Re: AppleWorks Database Message-ID: <218@dalcsug.UUCP> Date: Fri, 4-Dec-87 10:40:45 EST Article-I.D.: dalcsug.218 Posted: Fri Dec 4 10:40:45 1987 Date-Received: Sun, 6-Dec-87 22:42:23 EST References: <346@xroads.UUCP> Organization: Dalhousie University, Halifax, N.S., Canada Lines: 46 Keywords: Printing, AppleWorks Summary: Here's how _I_ did it. In article <346@xroads.UUCP>, cc@xroads.UUCP (Dan McGuirk) writes: > > Hello. I have a database in AppleWorks which consists of about 1800 > records. They are arranged by number, from 1-45000. Obviously, not every > number is used. I am trying to get AppleWorks to start every new page > with a new thousand numbers. For example, I want to have page 1 I'll call the number 1-45000 the "catalog number" in my description. This may not be the best way, but it worked for me. What you CAN'T do is define a category in the report, = catalog#/1000, make it an integer, and break on that- Appleworks won't break on a calculated field. This is what I did. 1. Move the DB into the spreadsheet by writing out a dif file and making a new SS file from the DIF file. You'll have to have an extended (like Applied Engineering) version of the SS for this as I don't think the vanilla SS can eat 1800 records from a DIF file. 2. Define a new column in the SS as @INT(Cat_Number_Column/1000). This'll give you 0 for cat #s 0-999, 1 for 1000-1999, 2 for 2000-2999 and so forth. 3. Print the scratch spreadsheet out to a scratch disk, as a DIF file, in COLUMN order (important!!). 4. Make a new scratch DB file, from the scratch SS DIF file. It will have an extra column, the thousands portion of the catalog number. 5. Define a new report, and using delete and insert, move the new column out to the right hand side of the report. This is so we won't have to print it on paper. 6. Move to on top of the new column, and hit open-apple-G, group totals. Answer no, you don't want group totals only, and yes, you do want a new page for each group (our whole purpose here). 7. Fix up the rest of the report so it looks like what you want. Make sure that the new column is off the edge of the paper (PW), so you won't get it on paper (but you can't delete it or it won't group total on it). 8. Print the report. This sounds incredibly convoluted, but I do it all the time, and the example above took me about 10 minutes with a RAM disk for the scratch files (which is useful since it gets erased on every power failure in this berg!) Dan: good luck! Hope this helps. Anyone: if you know an easier way, let us know!! -- +---------+ Dalhousie University | _ | From the Halifax, Nova Scotia | (_)===| Disk of ... Canada | | Daniel mackay@dalcs.UUCP +---------+ ...{utai,uunet}!dalcs!dalcsug!mackay