CRM Software - CABC | Maximizer | Maximizer Add-ons | Services | Support | Store | News

    Find out about Linktracker for Maximzier
CABC    Maxtalk  Hop To Forum Categories  Maximizer CRM Software  Hop To Forums  Maximizer Support    AddOLEDocument Using VBA
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
New Member
Posted
When I Add a OLEDocument to the CurrentRecord it works alright if strings are used:

However if I replace on of the Strings by a variable (String or variant) it does not work. Can anybody help?

Works:
maxrec.AddOLEDocument "File", "C:\myfile.doc", "MyDescription", 0, 0, 0, 0, 0

Does not work, but why?:
maxrec.AddOLEDocument "File", MyFile, "MyDescription", 0, 0, 0, 0, 0
 
Posts: 2 | Location: Zurich | Registered: February 09, 2001Reply With QuoteEdit or Delete MessageReport This Post
Master
Posted Hide Post
Peter,

I'm not sure this helps but if your trying to insert Word documents have you tried our Max Doc add-on it the easiest way to do this ... without code!

see www.cabc.co,uk for a free trial version

Regards,

Ian Wallace CABC
 
Posts: 145 | Location: CABC Ltd,PO Box 162,Newbury,RG14 5LP | Registered: January 03, 2000Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

CABC    Maxtalk  Hop To Forum Categories  Maximizer CRM Software  Hop To Forums  Maximizer Support    AddOLEDocument Using VBA

© CABC Ltd 2002 - 2005. All Rights Reserved.
Maximizer is a trademark of Maximizer Software inc.