Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug with REPORT FORM ASCII
Message
 
 
À
07/02/2001 16:53:05
Pierre Bouchard
Ministère Ressources Naturelles
Escoumins, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00473641
Message ID:
00473748
Vues:
16
Hi Pierre,

This is not an answer on your original question, but I'd like to share some experiences with ASCII clause. I think, it doesn't work properly in case, you have more than one line in either of the band. Even if you have only one line, you still have to adjust _asciicols and _asciirows (this, BTW, you can try with your report - try different settings and see, if it helps).

Therefore I think, it's easy to create a program to produce a report, than run a report to ascii.
Check this thread Reports & Report designer Share my bitter experience... Thread #456312 Message #456312

Also, I'm just guessing, you may have some "bad" symbols in your report, which ASCII clause can not recognize.

I wrote a simple utility to convert Report to prg. Then this prg has to be editted manually, but it's not hard. All my complicated reports, which need to be outputed to ASCII file I created this way. Of course, if this report could be printed or viewign on the screen, this approach doesn't work.

HTH

>Bug with REPORT FORM ASCII
>
>I'm a french speaker. You will see the original french text at the end of this. I will try to clearly expose my problem.
>
>In a software that I built, I use the command REPORT FORM ... TO FILE ... ASCII, to generate a text file, that is then inserted in Word. This software is in use on many different computers (portable or not), with Windows 98. The software is in use since a few months and the command REPORT FORM ... ASCII have always been OK.
>
>Since 1 month, REPORT FORM ... ASCII generate a C0000005 error on some computers (Windows 98), when the report is bigger than the standard. But the same report is OK on others computers (Windows 98 too). On my own computer, the command worked properly when I was in Windows 98 french. Since I installed Windows 2000 french, the command REPORT FORM ... ASCII systematically generate an C0000005 error with big reports. Even directly in the command windows of Visual Foxpro (version 6.0, SP4, french), running REPORT FORM ... ASCII whitout any programmation generate an error that forces Visual Foxpro to stop.
>
>Is there a bug with the ASCII parameter? Is there bad settings in Windows? After some tests, it seems that this command works properly with Windows 2000 english computers. It would have problem with Windows 2000 french. About Windows 98 french, it works properly on some machines, and it doesn't work on others.
>
>I don't found anything about it on MSDN, neither on this forum. Will someone help me? Thanks.
>
>********************************************************
>
>Erreur avec REPORT FORM ASCII
>
>Dans une application que j'ai développée, j'utilise la commande REPORT FORM ... TO FILE .... ASCII, afin de générer un fichier texte qui est ensuite inséré dans Word. Cette application est utilisée sur plusieurs ordinateurs différents (portatif ou non), avec Windows 98. L'application est en opération depuis quelques mois et la commande REPORT FORM ... ASCII a toujours bien fonctionné.
>
>Depuis environ 1 mois, REPORT FORM ... ASCII génère une erreur irrécupérable (C0000005) sur certains ordinateurs (Windows 98) lorsqu'il s'agit d'un rapport plus volumineux que la moyenne. Pourtant, le même rapport passe très bien sur d'autres ordinateurs (Windows 98 aussi). Sur mon propre ordinateur, la commande fonctionnait sans problème lorsque j'étais en Windows 98. Depuis que j'ai installé Windows 2000 français, la commande REPORT FORM ... ASCII génère toujours une erreur (C0000005) avec les gros rapports. Même dans la fenêtre de commande de Visual FoxPro (version 6.0 SP4 français), l'exécution de REPORT FORM ... ASCII, sans aucune programmation, génère une erreur qui force l'arrêt de Visual FoxPro.
>
>S'agit-il d'un bug du paramètre "ASCII"? S'agit-il d'une mauvaise configuration de Windows? Après quelques essais, il semble que cette commande fonctionne bien avec des ordinateurs Windows 2000 anglais. Il y aurait problème avec Windows 2000 français. Pour ce qui est de Windows 98 français, ça fonctionne bien sur certaines machines et ça ne fonctionne pas sur d'autres.
>
>Je n'ai pas vu d'article à ce sujet sur MSDN ni sur ce forum. Si quelqu'un voulait bien m'aider. Merci.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform