RE: Res: Weird report error

Author: Kent Belan

Posted: 2011-04-21 at 08:52:39

Great tip, thanks.

When I suspend and open the report and preview, the darn thing runs fine.

But if I run the report from the app, I still get the error.

I even created a new report with only one text box in the detail band and

still get the error

This is very frustrating ...

-----Original Message-----

From: profox-bounces@leafe.com [mailto:profox-bounces@leafe.com] On Behalf

Of Mike Copeland

Sent: Wednesday, April 20, 2011 11:55 PM

To: ProFox Email List

Subject: Re: Res: Weird report error

Excellent tip! You're absolutely correct that this works. Just suspend code,

then from the development platform you open the report and then right-mouse

and select preview. VFP will usually show you exactly where the error is.

Mike

> Do the following, put a SUSPEND just before the REPORT command, then

> call the DEBUG, then click on the report and execute the print, should

> give u the error.

>

> HTH, E.

>

>

>

> ----- Mensagem original ----

> De: Ken Dibble<krdibble@frontiernet.net>

> Para: profox@leafe.com

> Enviadas: Quarta-feira, 20 de Abril de 2011 21:41:34

> Assunto: RE: Weird report error

>

>

>> I have a report form that works great as long as PREVIEW is one of

>> the options.

>>

>> REPORT FORM PARKLST1 TO PRINTER PROMPT NOCONSOLE PREVIEW

>>

>> If I remove the PREVIEW option then I get an error:

>>

>> "Function argument value, type, or count is invalid"

>>

>> So why does the report work fine if PREVIEW ?

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/FCD87866D4544CFA9979BAC18062CD26@LaptopW7

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 Kent Belan