Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Mail merge crashing with many records
Message
From
12/08/2009 09:57:59
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01417134
Message ID:
01417554
Views:
44
Got the same result.

>From the help I see that PrintOut is a method of the application object not the document one. Could you please try this and tell me if this help:
>#define wdGoToPage  1
>#define wdGoToFirst 1
>#define wdPrintCurrentPage 2
>
>*-- Print each page separatly (this goes inside a loop)
>FOR lnPages = 1 TO lnTotalPages
>    WITH THIS.oWord
>        .Selection.GoTo(wdGoToPage,wdGoToFirst, m.lnPages,"")
>        .PrintOut (0, , wdPrintCurrentPage)    
>    ENDWITH
>NEXT
Previous
Reply
Map
View

Click here to load this message in the networking platform