General information
Title:
Append General Command to Import .bmp file into gen field
I'm currently using VFP 5.0a
I tried to import .bmp files to gen fields (photo) of the members.dbf
table with the following codes:
>From the command button: Click() method:
I wrote:
mpictfile=getpict()
if not empty(mpictfile)
appe general members.photo from (mpictfile) link
endif
this.refresh
When I ran the above event, I was shown a dialog box asking me to pick a .bmp file but after i'd selected a .bmp, file I got an error message:
variable mpictfile not found. OLE eror code 0x80040000a: Not able to
bind to the source
What does that means ? I'm currently using Visul Promatrix 5.0c and had written to them about the problem. They told me that it wasn't a technical Promatrix problem and didn't give me any solution but told me to refer to the VFP Developer's Guide. I couldn't find any error message in the guide book.How to get picture files into the gen field from a form ?
-----------------
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