Skip to main content

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
Original Post

Add Reply

Post
LEGAL INFO
CONTACT US
Copyright 2007-2018 Advoco Solutions Ltd. All Rights Reserved.
×
×
×
×
Link copied to your clipboard.
×