Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report Listener Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Report Listener Problem
Divers
Thread ID:
01437653
Message ID:
01437653
Vues:
181
I'm gettting a data mismatch (no 107) error in the following code snippet from the program... appears to be in the reportlisteneer class code.
REPORT FORM (THIS.ReportFileNames[liIndex]) &lcClauses  OBJECT THIS
Fro the debug window:
This.ReportFileNames[liIndex] is defined as a character string
liIndex is an integer
lcClauses is empty
Object THIS is defined

I have a class that I call newreportlistener that wraps the report listener code form Microsoft. I added a few methods, to call printing set copies, but this error seems to be in the microsoft listemer....

The weird thing is this program has been working for years! This week, I tried to add a new report to my system and these are the errors I'm getting.

My reporting works like this:
I have a global object called oRepts. It holds settings/methods for reporting. When I run a report I pass the report (lcReportName) to it.
 WITH oRepts
      .formDataSession=.f.                && Is report using form data session
      .nCopies=1                              && Default Copies
      .prnType=''                               && Printer Type - INVE, REPT (default), etc. See Printer Table
      .lPrint=.f.                                 && This will cause a preview - set to .t. - report will print directly
      .lcReportFile=lcReptName        && Name of report file
     .genReport()                              && Generate Report
 ENDWITH
.


Any ideas?

TIA,
Mike
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform