Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lotus 1-2-3 97 Constants...Arrgghh!
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00582803
Message ID:
00582946
Views:
24
Here's a follow-up...

Well, I finally, through the debugger, figured things out. Thanks to everyone who tried to help. It's appreciated.

Naturally, this being Lotus, there a "kicker".

The syntax for setting this print range is basically,

This.oServer.CurrentPrintSetting.PrintWhat = 5 && Entire document

where oServer is the object created with CreateObject().

I verified that this value was correct in the Watch window. The "kicker" here is the above code generates an error by Lotus that the value isn't right. I assumed that the problem might be VFP's typing. So my next thought was, "Well, since the value doesn't appear to be changed, try

This.oServer.CurrentPrintSetting.PrintWhat = This.oServer.CurrentPrintSetting.PrintWhat

Guess what! Same error. Thank you, Lotus. Thank you, IBM!
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform