FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
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
Débuté par Andre, 16 nov. 2020 16:48 - 2 réponses
Connectez-vous…
Andre
#1
Posté le 16 novembre 2020 - 16:48
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
Signaler
0
0
Mike James
#2
Posté le 18 novembre 2020 - 23:21
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.
Signaler
0
0
Andre
#3
Posté le 29 novembre 2020 - 16:58
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.
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte