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