Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding OLE object to Report form
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Adding OLE object to Report form
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01171280
Message ID:
01171280
Views:
54
I'm trying to add a graphic image to a report form in VFP9, and this was recommended to me some time back.

Add a Picture/OLE Bound report element to the Detail band
Set the Control Source Type to Expression or Variable name
Enter "Image1" as the Control Source.
Double-click (or right-click) on the Detail band to get the properties dialog
Select the General Tab.
Enter an On-Entry Run Expression of: EXECSCRIPT("Image1.PictureVal = test.picdata")
Preview the report.

I followed these directions, and I receive the following error: "Object IMAGE1 is not found."


Can anyone tell me what I'm doing wrong? Do I need to initialize "image1" somewhere before this point?
Next
Reply
Map
View

Click here to load this message in the networking platform