Connect to FoxPro C++
-
Hi all, i'm attempting to connect to a foxpro dbaseIV via odbc. I was able to connect to it by specifying the physical path of may table (i.e C:\test\f_cheque.dbf). but for some purpose, i have to connect to that base without specifying the path, just by alias (odbc). did some one know how to do that by C++. Thx
"The Ultimate Limit Is Only Your Imagination."
-
Hi all, i'm attempting to connect to a foxpro dbaseIV via odbc. I was able to connect to it by specifying the physical path of may table (i.e C:\test\f_cheque.dbf). but for some purpose, i have to connect to that base without specifying the path, just by alias (odbc). did some one know how to do that by C++. Thx
"The Ultimate Limit Is Only Your Imagination."
You should create a
DSN
(see, for instance "Creating a new ODBC DSN"[^]), then.If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
You should create a
DSN
(see, for instance "Creating a new ODBC DSN"[^]), then.If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]My mistake is that i missed to include the alias into the connectionstring. Thx for the reply. ;)
"The Ultimate Limit Is Only Your Imagination."