Index
2011-04-20 21:22Eurico Chagas Filho : Res: Weird report error
2011-04-20 23:54Mike Copeland : Re: Res: Weird report error
2011-04-21 08:52Kent Belan : RE: Res: Weird report error
Back to top
Res: Weird report error

Author: Eurico Chagas Filho

Posted: 2011-04-20 21:22:57   Link

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 ?

_______________________________________________

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/276299.8423.qm@web37005.mail.mud.yahoo.com

** 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 Eurico Chagas Filho
Back to top
Re: Res: Weird report error

Author: Mike Copeland

Posted: 2011-04-20 23:54:31   Link

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/4DAFAA77.1040609@ggisoft.com

** 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 Mike Copeland
Back to top
RE: Res: Weird report error

Author: Kent Belan

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

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