home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / database / 6640 < prev    next >
Encoding:
Text File  |  1992-09-09  |  2.7 KB  |  69 lines

  1. Newsgroups: comp.databases
  2. Path: sparky!uunet!spool.mu.edu!umn.edu!sys12.ortta.umn.edu!durai
  3. From: durai@ORTTA (Appadurai V.)
  4. Subject: Re: FoxPro2 problems
  5. Message-ID: <durai.37@ORTTA>
  6. Sender: news@news2.cis.umn.edu (Usenet News Administration)
  7. Nntp-Posting-Host: sys12.ortta.umn.edu
  8. Organization: U of Mn
  9. References: <BuBMuK.B9K@news.cso.uiuc.edu>
  10. Date: Wed, 9 Sep 1992 19:02:34 GMT
  11. Lines: 56
  12.  
  13. Reply to <BuBMuK.B9K@news.cso.uiuc.edu> weller@osiris.cso.uiuc.edu (Bonnie 
  14. Weller) posting on Foxpro2 problems:
  15.  
  16. Users always present a convoluted picture of their problems.  We 
  17. programmers, do the same thing when we take sides.  No offence. I have not 
  18. understood your problem in its entirety.  However, <hey, I just love this 
  19. word> here's my humble attempt to decipher your problem.
  20.  
  21. *** the format allows for 2 records to be printed per line
  22.  
  23. I dont understand.  You can only print one record per line, unless you have 
  24. a snake report logic built in.  You cannot define a snaked report logic 
  25. using foxpro report format, as far as I know.  
  26.  
  27. Assuming you are trying to print one record per line..
  28.  
  29. *** weird symbols like @s...
  30.  
  31. Check your printer definition.  You have to convey the appropriate symbol 
  32. set, either using an escape sequence or using printer drivers.  You can 
  33. set up printer drivers using the "printer driver setup" option, available 
  34. under "report layout" under "report" popup, when you open the report 
  35. format.  
  36.  
  37. *** it shows the same record 10 times instead of...
  38.  
  39. 1) Did you save the query results to a database ?  You might have just done 
  40. a browse.  To save the results to a database, you have to specifically 
  41. choose "table" as your output form.
  42.  
  43. 2) When you defined the report a.frx, you might have saved the environment 
  44. a.dbf, along with it.  In that case, it will always open a.dbf when you run 
  45. the report.  Open the report, save it without the environment <using "clear" 
  46. option under "report layout">.  Open the Q.dbf and now run the report.  The 
  47. report format will take the data from Q.dbf.  (You may want to save the 
  48. environment, now that you have Q.dbf)
  49.  
  50. 3) If you want to run the report using A.dbf, for a condition, you dont even 
  51. need to generate a query.  If I knew more about the type of condition, I can 
  52. argue further.  You can build your query condition into your report.. report 
  53. format <blahblah> to printer for <query condition>.. should do it.
  54.  
  55. 4) Check the "suppress" check box for each field, in order to suppress 
  56. repeated data.  I am not very clear about what you meant by "it shows the 
  57. same record".
  58.  
  59. *** is ther a foxpro2 book...
  60.  
  61. I found the Foxpro "Getting Started" manual very useful to learn the 
  62. basics.  I have not found any other book that deals with the subject in as 
  63. lucid a manner.  
  64.  
  65. If you need more help, email would be great.
  66.  
  67.  
  68.  
  69.