home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases
- Path: sparky!uunet!sun-barr!decwrl!elroy.jpl.nasa.gov!sdd.hp.com!cs.utexas.edu!torn!nott!bnrgate!bmers145!bmers3!jfile
- From: jfile@bmers3.bnr.ca (Jonathan File)
- Subject: Help: How can I page a dBase report on my screen?
- Message-ID: <1992Nov9.152432.2424@bmers145.bnr.ca>
- Sender: news@bmers145.bnr.ca
- Reply-To: jfile@bnr.ca
- Organization: Bell Northern Research, Ottawa, Canada
- Date: Mon, 9 Nov 92 15:24:32 GMT
- Lines: 34
-
- When I use the Control Center in dBase IV and I select the report I
- want, then select Print Report, then select View report on screen,
- the report is presented to me on my screen. After a the screen is full,
- I get a message that says: "Cancel viewing: ESC, Continue viewing: SPACEBAR".
- This is great, but How can I get the same effect when I use the REPORT
- FROM command directly in my own program? If I start the same report
- using the REPORT FROM command, it just scrolls on by. I can't get it
- to pause after a screen full. I tried ON PAGE AT LINE 20 wait "Press
- any key to continue", but it didn't have any effect. I see that there
- is an ON PAGE AT LINE xx in the report code, so this one seems to override
- the one that I have set (as I recall this did work if I commented out the
- ON PAGE AT LINE xx in the report code, but this isn't the best solution
- and dBase was still able to do it without this code commented out). I
- also tried _pwait = .t. and _plength = 20. This solution only worked when
- I actually sent the report to the printer (which is what I am trying to
- avoid in the first place).
-
- Since dbase can do it from the Control Center, I presume it can be done,
- but I can't figure it out. I would appreciate any pointers one might
- have.
-
- Thanks,
- / / /
- / ___/_/_
- / ___ _____ ___ / /__ ___ _____
- / / ) / ) / ) / / ) / ) / )
- / / / / / / / / / / / / / / / __
- (___/ (___/ / (__(___(__/ / (__(___(_ / (_ \/
- -----------------------------------------------------------------
- Jonathan File Bell-Northern Research
- <insert standard P.O. Box 3511, Station C
- disclaimer here> Ottawa, Ontario
- jfile@bnr.ca Canada K1Y 4H7
- -----------------------------------------------------------------
-