home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / database / 7713 < prev    next >
Encoding:
Text File  |  1992-11-09  |  2.3 KB  |  46 lines

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