FYI .. If you use TO PRINTER PROMPT PREVIEW .. or TO PRINTER PREVIEW .. you
do NOT need to use NOCONSOLE. 

Cathy

> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
On
> Behalf Of MB Software Solutions General Account
> Sent: Friday, March 13, 2009 5:00 PM
> To: [email protected]
> Subject: What's wrong with this VFP9 syntax?
> 
> report form (cSCRepPath + cRepFile) NOCONSOLE PREVIEW IN WINDOW loFrm.Name
> TO PRINTER
> 
> this also fails:
> report form (cSCRepPath + cRepFile) TO PRINTER NOCONSOLE PREVIEW WINDOW
> loFrm.Name
> 
> yet in another common object this works:
> lcDoReport = "REPORT FORM [" + tcFRX + "] " + tcClause
> DO CASE
> CASE This.nOutput = 0 && Preview
>       *** mjb 03/13/2009 - took code from MBSS to create preview window so
> user
> doesn't always have to maximize the normal preview window
>       lcDoReport = lcDoReport + " TO PRINT NOCONSOLE PREVIEW WINDOW
> (loFrm.Name)"
>       loFrm = CREATEOBJECT("Form")
>       loFrm.Caption = tcFRX
>       ZOOM WINDOW (loFrm.Name) MAX
> CASE This.nOutput = 1 && Print
>       lcDoReport = lcDoReport + " TO PRINT PROMPT NOCONSOLE"
> OTHERWISE
>       lcDoReport = lcDoReport + " OBJECT loXFRX"
> ENDCASE
> 
> &lcDoReport
> 
> 
> It fails immediately when trying to leave method in dev, saying "Command
> contains unrecognized phrase/keyword."
> 
> I've done this for other areas and it works fine.  Something is screwy
> with the order, yet if I'm reading the help and intellisense correctly,
> I've done it in the proper order!?!??!  WTH?
> 
> tia,
> --Mike
> 
> 
> 
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
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/000001c9a63a$4ca0f260$e5e2d7...@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.

Reply via email to