PC SOFT
DEPOT EN LIGNE
POUR WINDEVWEBDEV ET WINDEV MOBILE

Install HFSQL and Create ConfigDB.ini at workstations
Publié par Boller
dans la catégorie Outils
Nouveautés



Description
Install HFSQL and Create ConfigDB.ini at workstations


//----------------- CONEXAO DO BANCO DE DADOS DO PROJETO ------------------""

Banco is string = INIRead("Database","Banco","",fCurrentDir()+"\ConfigDB.ini")
DNS_IP is string = INIRead("Database","DNS-IP","",fCurrentDir()+"\ConfigDB.ini")
Porta is string = INIRead("Database","Porta","",fCurrentDir()+"\ConfigDB.ini")
Usuario is string = INIRead("Database","Usuario","",fCurrentDir()+"\ConfigDB.ini")
Senha is string = INIRead("Database","Senha","",fCurrentDir()+"\ConfigDB.ini")

IF Usuario = "" AND Senha = "" THEN
Open(WIN_ConfigDatabase)
END

MyHfsql01 is Connection
MyHfsql01..Provider = hAccessHFClientServer
MyHfsql01..Database = Banco
MyHfsql01..Server = DNS_IP
MyHfsql01..Source = DNS_IP
MyHfsql01..User = Usuario
MyHfsql01..Password = Senha

HOpenConnection(MyHfsql01)
HChangeConnection("*",MyHfsql01)
HModifyStructure("*")
HCreationIfNotFound("*")
Illustrations, copies d'écran
none
none
Avis des utilisateurs
(Pour noter la ressource, cliquez sur Ecrire un avis)
Aucun avis ou commentaire ? Soyez le premier !
A PROPOS
EVALUATION :
00Aucune évaluation
TELECHARGEMENTS :
123
PUBLIÉE :
22 mars 2020
VERSION :
25
CONCERNE :
WINDEV
Version minimale : 25
TAILLE :
24,5 Mo