Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MySQL
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Re: MySQL
Miscellaneous
Thread ID:
00746140
Message ID:
00746150
Views:
25
>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."
Previous
Reply
Map
View

Click here to load this message in the networking platform