Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report Listener Problem
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01437653
Message ID:
01437670
Views:
46
May be lcClauses is .F. at this moment.

>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
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform