Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting the Control Source for an OLEcontrol
Message
From
22/12/2004 13:05:53
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Setting the Control Source for an OLEcontrol
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Miscellaneous
Thread ID:
00971511
Message ID:
00971511
Views:
61
Hi,
I am trying to add an Olecontrol (richtextcntrl) to a form. In the init, I put the following code:
parameter pcfilename
thisform.filenameuse = pcfilename
thisform.olecontrol1.controlsource = thisform.filenameuse
pcFilename is a full path and file name. But the error I am getting says:
"The data source for this object must be a variable reference."

What am I doing wrong?

Thanks,
Beth
Next
Reply
Map
View

Click here to load this message in the networking platform