GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WEBDEV 2024
→
Updating images in SQL
Updating images in SQL
Iniciado por Peter, nov., 04 2007 5:32 PM - Sem resposta
Conecte-se…
Peter
#1
Publicado em novembro, 04 2007 - 5:32 PM
Hi
I have a webdev site in which I have to store an image in a SQL DB. Everything's working fine with HAdd() but I'm having some trouble with HModify every time that I need to change the image. No errors returned. It just doesn't update the image. Could you give me a hint ?
Here's some of my code:
sValue is string = UploadCopyFile("UploadControl1",fExeDir(),"")
IF Length(sValue) > 0 THEN
HLinkMemo(TABLENAME,ItemName,fExeDir() + "\" + sValue,hMemoImg)
END
PageToFile()
IF HModify(TABLENAME)=False THEN
Error(HErrorInfo())
RETURN
END
Regards.
Denunciar
0
0
→ Voltar para WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto