Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using frx2word or other class to generate html reports
Message
De
08/03/2002 14:10:39
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00625839
Message ID:
00630337
Vues:
42
I need that my end users can modify this report: change formulas etc.

If I use your suggestion to create a prg from this report or
create a report in fp dos, I my users lose this ability.

So I cannot use your suggestions.
Are your sore that DOS report works OK ?
If so, then it may be
possible to convert a vfp frx file back to fp dos report at run time.
Or is there a simler solution so that end users can
modify text report using some visual designer ?

My sample report works without data loss in 80% of users.
Howewer, if 20% of users data is corrupted and I have no
idea does this depend on the printer driver or data or some
other think.

I use always the command

blank field tag, tag2, expr

to clear first record in frx file.

Also, pressing page up /page down keys in this report print
preview many times causes
a famous reproducible C5 error in VFP 7 SP 1

Also, C5 occurs on REPORT .. .ASCII command sometimes in this report.

Users try several times to produce text file.
May times they got a C5 error but suddenly, at one time this
works (Win 2000, HPLJ 1100 printer).


>BTW, the alternative suggestion from another thread was to try to create report in FPD2.6 and have VFP to run it. I don't have much luck with it, though, but I didn't really try it hard.
>
>>>>How about generating plain .txt files using frx2word ?
>>>>REPORT ... ASCII corrupts data so I'm looking for a solution
>>>>to generate txt files from frx reports.
>>>>
>>>>
>>>>>Andrus
>>>
>>>Andrus,
>>>
>>>How many reports you want to produce simple txt file and what do you call a data corruption? Reports could not change your data, but ASCII clause doesn't work correctly, if you have more than one detail lines in your report. For cases like this I produce reports programmatically, e.g. I write a program, which either uses textmerge or strtofile approach to produce a text file. I think, there are some other tools avialble to produce text file based on the input...
>>
>>I have a single complicated report (www.eetasoft.ee/m2002001.zip) from which I need to generate txt file.
>>This report does NOT have detail lines at all!
>>
>>In some computers, in every fourth record, if #181 record does not exist, a line after #18 field is moved to the same line as in #18 field and first three characters of it are replaced by #18.
>>
>>I set report font to a tiny and added a lot of space before and after
>>lines, but corruption still occurs.
>>How to get correct txt file from this report ?
>>Re-designing it programmatically takes a lot of time and makes modifications very difficult.
Andrus
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform