Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MySQL
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Re: MySQL
Divers
Thread ID:
00746140
Message ID:
00746150
Vues:
26
>Hi all,
>
>Can I connect in MySQL without use ODBC ? If no then how to create a DSN automatically ?

I would suggest you to use connection string instead of DSN. You can store the string into a memory variable or place it in static table then use it as a public variable.

start of your program:
Public dbStringVar
dbStringVar = mytable.stringvar

Somewhere in your program:
nConn = SqlStringConnect(dbStringVar)

That way your application is DSNless.

>
>Many thanks
>
>Vinicius Ribeiro
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform