General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Hi Hanafi,
try changing this line:
Repl Pict with FiletoStr("C:\AVFP\SWIFT.JPG")
to this
Repl Pict with cast(FiletoStr("C:\AVFP\SWIFT.JPG") as W)
and see what happens.
When you get it back, you'll have to Cast in the opposite direction, as M.
Hank
>Hii, Martina.
>
>I'm afraid its not doing well with me. My code is like this
>
>
>Local MCommand, MGambar
>
>MId = 'OL'
>
>Create Cursor F_Temp (Pict W)
>Appe Blank
>Repl Pict with FiletoStr("C:\AVFP\SWIFT.JPG")
>
>MCommand = "Update Cars Set Pict1 = ?F_Temp.Pict Where Id_Car = ?MId"
>
>XX = SQLEXEC(M_IdKoneksi, MCommand)
>
>Use in F_Temp
>
>**************
>
>Still XX Return -1
Previous
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