GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV 2024
→
Error 70205
Error 70205
Iniciado por Antonio Díaz, fev., 02 2024 5:44 PM - 4 respostas
Conecte-se…
Antonio Díaz
#1
Membro registado
71 mensagems
Popularité : +2 (2 votes)
Publicado em fevereiro, 02 2024 - 5:44 PM
Hi guys,
I am going crazy with error 70205 when trying to read a record. I've tried it with MS SQL (using ODBC) and realized after much research that I cannot use some H functions with ODBC.
So I switched to PostgreSQL, thinkin it would work since there is a native driver. But to my surprise, I keep getting the same error. Here is my code:
HSeekFirst(MyFile,SomeField,SomeValue)
IF HFound() = True THEN
HRead(MyFile, HRecNum()) *** THIS IS WHERE I GET THE ERROR (NO CURRENT RECORD HAS BEEN DEFINED)
The record is found but the HRead Error still happens. Please help!..
--
Antonio Diaz
Emphasys Software, S.C.
Denunciar
0
0
Popoy
#2
Membro registado
3.347 mensagems
Popularité : +93 (137 votes)
Publicado em fevereiro, 02 2024 - 6:50 PM
Hi
if the h functions do not work
try to do it with a query
Denunciar
0
0
Antonio Díaz
#3
Membro registado
71 mensagems
Popularité : +2 (2 votes)
Publicado em fevereiro, 02 2024 - 9:06 PM
I understand, but is that a common problem? Isn't HSeekFirst supposed to work? May be I am doing something wrong?...
--
Antonio Diaz
Emphasys Software, S.C.
Denunciar
0
0
Fabrice N
#4
Membro registado
120 mensagems
Publicado em fevereiro, 03 2024 - 9:22 AM
Hi
This is explained in the HRecNum() function documentation
https://doc.windev.com/en-US/…
HFSQL : Available only with these kinds of connection
Non-HFSQL data files :
There is no record number on the data files.
The call to this function triggers a WLanguage error.
As Popoy points out, you have to do it with a query
Mensagem modificada, fevereiro, 03 2024 - 9:23 AM
Denunciar
0
0
Antonio Díaz
#5
Membro registado
71 mensagems
Popularité : +2 (2 votes)
Publicado em fevereiro, 04 2024 - 9:17 PM
Thank you guys, I appreciate your help!
--
Antonio Diaz
Emphasys Software, S.C.
Denunciar
0
0
→ Voltar para WINDEV 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