Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Picture not perfect.....Help
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00058271
Message ID:
00058289
Views:
22
>Dear all, > >I faced another problem. Please help. THanks in advance. > >I created a table with a general field to keep picture. >For example. > >eg.picture General 4 > >The saving part is ok but when I tried to retrieve the >general field and display it in my form it gave me >an error "Function argument value, type, or count is >invalid". I followed the example coding in tastrade but >still generate error. > >The coding goes like this. > >LOCAL lcfile > >store "" to lcfile >* IF FILE(eg.picture) >lcfile = eg.picture >ELSE >lcfile = '' >ENDIF >thisform.imgphoto.picture = lcfile >* this is the part which the debugger point at and give >me an error message. >What is wrong? Please help. > >Dora Is your 'imgphoto' control a 'OleBoundControl' ? This is needed to display a general field. ;0) -------- REPLY, End of original message -------- Dear Gerald, No. The imgphoto is not an OLEboundcontrol. It is an ordinary image object. I will try with the oleboundcontrol object. THanks. Dora
Previous
Reply
Map
View

Click here to load this message in the networking platform