Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Portrait or Landscape ? Weird VFP 5.
With VFP 5 my new laser printer generated "Illegal operation" which crashed the system and this is how I fixed the problem following the suggestions from UT:
1. Cleaned Tag, Tag2 fields of all reports (first line in .frx)
2. Cleaned EXPR field - left only ORIENTATION (first line in .frx)
That didn't fix the problem so I went further:
3.In the main program:
DECLARE _fpreset IN MSVCRT20
4.After each REPORT FORM... I issued a =_fpreset() statement
REPORT FORM...
=_fpreset()
NOW it no longer crushing the system. So I offer this as a solution for this kind of problem.
BUT this generated another problem:
If I print the same report twice in this sequence
REPORT FORM *
=_fpreset()
REPORT FORM *
=_fpreset()
...it sometimes prints one copy in Landscape format even if the report is Portrait...100% puzzled...
Thanks in advance for your help.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement