GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV 2024
→
ODBC access to a table in a subfolder - HFSQL Client/Server database
ODBC access to a table in a subfolder - HFSQL Client/Server database
Iniciado por Andre, nov., 16 2020 4:48 PM - 2 respostas
Conecte-se…
Andre
#1
Publicado em novembro, 16 2020 - 4:48 PM
Hello,
probably I have a beginner's question.
I want to access a FIC file via ODBC interface, which is located in a subfolder. (e.g. \Archive\Product.fic - Tree structure of Data - HFSQL Client/Server database).
How do I specify the select (or a connection string) to access the table in the subfolder?
With an OLE access it works as follows:
The location specified in the connection string by Initial Catalog can contain data files located in subfolders. These data files are automatically declared by the OLE DB provider for HFSQL, replacing the "\" from the path with the "_" character.
For example, for the file "<Initial Catalog>\Archive\Product.fic", it can be consulted using "Archive_Product" as data file name.
Many thanks
Andre
Denunciar
0
0
Mike James
#2
Publicado em novembro, 18 2020 - 11:21 PM
Hi Andre
Would this Windev help topic assist you?
https://help.windev.com/en-US/…
Note especially the example connection string in the comments, using REP not DIR.
Denunciar
0
0
Andre
#3
Publicado em novembro, 29 2020 - 4:58 PM
Hi James,
thanks a lot.
The parameter REP is only for the direct FILE queries.
Maybe the Parameter "PATH" in the OPEN command of the HFSQL Client/Server could help.
However, in the meantime I solved it with an OLE Query over a wrapper program in PowerScipt.
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