PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WEBDEV 2024 → Images Table
Images Table
Iniciado por Alex, mar., 30 2009 4:03 PM - 4 respostas
Publicado em março, 30 2009 - 4:03 PM
how can I save an image in a table?. I save the route, but I do not want to save the route, I want to save the image. How can I do?.
The path of the image with a lame saisie upload, which introduces the user.
Thank you.
Publicado em março, 31 2009 - 2:18 AM
Hi Alex...

By save in a table, I suppose that you mean save in a FILE (as a table,
in windev/webdev, is only a display control)...

In that case, you need to define a binary memo field and use hLinkMemo
to load your file into the record

Best regard

--
Fabrice Harari
Consultant WinDev, WebDev et WinDev Mobile International

Plus d'information sur http://fabriceharari.com/index_FR.html


Alex wrote:
how can I save an image in a table?. I save the route, but I do not want to save the route, I want to save the image. How can I do?.
The path of the image with a lame saisie upload, which introduces the user.
Thank you.
Publicado em março, 31 2009 - 12:28 PM
Hi Fabrice ...
This is my code ...........
HLinkMemo (PACIENTES, FOTO, SAI_FOTO .. Value)
ScreenToFile ()
Haddad (PATIENTS)
........

Patients is the chart picture is the field and is a sai_foto upload.
I have already defined the type of binary file memo.
I insert all the data but no picture
Publicado em março, 31 2009 - 6:42 PM
Hi Alex...

You should use the uploadfile instruction first (and give the file a
name of your own to prevent any problem with accented chars, as
explained in the uploadfile help)... Then you use the FULL name fo teh
uploaded file (ie directory on the server + Filename+extension) to do
the hlinkmemo

Best regards

--
Fabrice Harari
Consultant WinDev, WebDev et WinDev Mobile International

Plus d'information sur http://fabriceharari.com/index_FR.html


Alex wrote:
Hi Fabrice ...
This is my code ...........
HLinkMemo (PACIENTES, FOTO, SAI_FOTO .. Value)
ScreenToFile ()
Haddad (PATIENTS)
........

Patients is the chart picture is the field and is a sai_foto upload.
I have already defined the type of binary file memo.
I insert all the data but no picture
Publicado em abril, 02 2009 - 1:43 AM
Hello Fabrice.
I have another question, "is important."
I created an image with photoshop, and now I have WebDev with an object image. This image of the background and I want to put up cell and other objects but descoloca entire page.
Do you understand?