Information générale
Catégorie:
Codage, syntaxe et commandes
>hello,
>
>I am getting the "this application performed an illegal operation " error everytime I print more than one report. Can anyone tell me what causes that??
>sherry
VFP doesn't always correctly append a null value to the end of the "expr" field in the FRX file. Here's a little program that I run from the directory where I store my report files:
* Get a list of report files in current directory.
nNumReports = ADIR(aReports,"*.FRX")
* Loop through reports, adding nulls when appropriate.
FOR nCurrentReport = 1 TO nNumReports
USE (aReports[nCurrentReport,1]) EXCLUSIVE ALIAS frxfile
REPLACE ALL expr WITH expr + CHR(0) FOR objtype = 1 AND RIGHT(expr,1) # CHR(0)
PACK
USE
NEXT
Précédent
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