General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
strtofile(tmp.bImage, 'c:\myPicture2.jpg')
c:\myPicture2.jpg is the same as myPicture.jpg and can be added into Image1 control manually
but cannot auto added with program coding......
>CURSORSETPROP("MapBinary", .T., 0)
>SQLExec(lnHandle,"select bImage from TableImage","tmp")
>Thisform.Image1.Picture=strtofile(tmp.bImage, 'c:\myPicture2.jpg')
>thisform.Refresh
>
Program error : Data type is invalid for this property
if I use pictureval
>Thisform.Image1.Picture=strtofile(tmp.bImage, 'c:\myPicture2.jpg')
Error with Image1 : PictureVal : property value is invalid.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only