Click here to Skip to main content
15,914,452 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can I access to files with .DBF extension ? Pin
Qadddd7-Jan-04 22:51
Qadddd7-Jan-04 22:51 
AnswerRe: How can I access to files with .DBF extension ? Pin
BadJerry8-Jan-04 0:03
BadJerry8-Jan-04 0:03 
GeneralRe: How can I access to files with .DBF extension ? Pin
Qadddd8-Jan-04 3:20
Qadddd8-Jan-04 3:20 
GeneralRe: How can I access to files with .DBF extension ? Pin
BadJerry8-Jan-04 3:28
BadJerry8-Jan-04 3:28 
GeneralRe: How can I access to files with .DBF extension ? Pin
Qadddd8-Jan-04 3:46
Qadddd8-Jan-04 3:46 
GeneralRe: How can I access to files with .DBF extension ? Pin
Qadddd8-Jan-04 13:53
Qadddd8-Jan-04 13:53 
GeneralRe: How can I access to files with .DBF extension ? Pin
BadJerry8-Jan-04 22:36
BadJerry8-Jan-04 22:36 
GeneralRe: How can I access to files with .DBF extension ? Pin
Qadddd8-Jan-04 23:35
Qadddd8-Jan-04 23:35 
hello,

sorry to bug you again with this stuff, but I need some extra-infos (in fact, I don't use PC database stuff very much (except MySql on which I crated a little application also using ODBC and I am quite a newbie in VC++ )

1) #define DBName "DSN=dsnMyDatabase;UID=WD;"
Ok I was looking for the pannel where I set the access to the database (path, file) during the ODBC configuration and did not find it ... but looking at it a second time, there is a "Use Current directory" set, and if I deselect it, I can precise the path/file ...
So the way id to Create 1 DSN per file in ODBC and done the "gDB.OpenEx(DBName,CDatabase::noOdbcDialog);" with the correct one.
But, in ODBC, should I just give the path and then precise the file in "OpenValue" in the "rs.Open( CRecordset::forwardOnly, OpenValue );" command, or should I give the path and the file name, in this case should I repeat the file name ine the "OpenValue" or not ?
2) Yes, it should work. ok, I will try the WHERE format you proposed me.

Thanks again
DD
GeneralRe: How can I access to files with .DBF extension ? Pin
BadJerry9-Jan-04 0:10
BadJerry9-Jan-04 0:10 
GeneralRe: How can I access to files with .DBF extension ? Pin
Qadddd9-Jan-04 4:28
Qadddd9-Jan-04 4:28 
GeneralRe: How can I access to files with .DBF extension ? Pin
BadJerry9-Jan-04 4:40
BadJerry9-Jan-04 4:40 
GeneralRe: How can I access to files with .DBF extension ? Pin
Qadddd9-Jan-04 4:58
Qadddd9-Jan-04 4:58 
GeneralRe: How can I access to files with .DBF extension ? Pin
BadJerry9-Jan-04 5:40
BadJerry9-Jan-04 5:40 
GeneralRe: How can I access to files with .DBF extension ? Pin
Qadddd17-Jan-04 23:55
Qadddd17-Jan-04 23:55 
GeneralPrecompiled headers Pin
Patje7-Jan-04 22:49
Patje7-Jan-04 22:49 
Generalneed help Pin
sls0077-Jan-04 22:48
sls0077-Jan-04 22:48 
GeneralRe: need help Pin
Antti Keskinen8-Jan-04 0:16
Antti Keskinen8-Jan-04 0:16 
QuestionHow to create patch for program update? Pin
Ming Yan7-Jan-04 21:31
Ming Yan7-Jan-04 21:31 
AnswerRe: How to create patch for program update? Pin
Antti Keskinen7-Jan-04 21:38
Antti Keskinen7-Jan-04 21:38 
GeneralRe: How to create patch for program update? Pin
Ming Yan7-Jan-04 22:21
Ming Yan7-Jan-04 22:21 
GeneralRe: How to create patch for program update? Pin
Antti Keskinen8-Jan-04 0:11
Antti Keskinen8-Jan-04 0:11 
GeneralRe: How to create patch for program update? Pin
Ming Yan8-Jan-04 14:52
Ming Yan8-Jan-04 14:52 
Generalcreating toolbar window(MFC) Pin
grunt1237-Jan-04 21:08
grunt1237-Jan-04 21:08 
Questioncan u modify this proxy program,thank u . Pin
tujj997-Jan-04 20:58
tujj997-Jan-04 20:58 
Generallookup problem, pcap.h Pin
styve7-Jan-04 20:36
styve7-Jan-04 20:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.