Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Probs inserting data at a bookmark
Message
From
10/01/2019 06:36:35
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
09/01/2019 21:24:30
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Miscellaneous
Thread ID:
01665236
Message ID:
01665266
Views:
52
>>>>
>>>>
>>>>* get a reference to the bookmark
>>>>
>>>>loBookmark = THIS.GetBookmark(lcBookmarkName,toDocument)  && method of class that error traps etc
>>>>
>>
>>
>
>But there you don't seem to have null check. Maybe because it is a pseudocode. You might get some info, google searching that exact message. I have similar code and I haven't heard an error yet.

ISTR I had such cases with Excel and/or Word (well more than ten years ago) where I'd create dozens of documents by merging templates, and it would work for hundreds of cases, but sometimes, out of the blue, it would claim that something doesn't exist - the .shapes() collection, or a certain method. Checking for nulls was completely out of my mind, because we did simple dbfs back then and didn't allow for nulls. And don't really remember whether left joins were involved, but if that was the cause, we'd have hundreds, because it was mostly same data every day.

IOW, even Office 2003 had this problem from time to time.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform