Click here to Skip to main content
15,891,657 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMigration from VisualAge C++ for windows to VC++ 6.0 Pin
Md Saleem Navalur8-Jan-04 23:14
Md Saleem Navalur8-Jan-04 23:14 
Generalhelp me! NEW and DELETE function Pin
kiyek8-Jan-04 22:00
susskiyek8-Jan-04 22:00 
GeneralRe: help me! NEW and DELETE function Pin
SiddharthAtw8-Jan-04 22:44
SiddharthAtw8-Jan-04 22:44 
GeneralRe: help me! NEW and DELETE function Pin
Cedric Moonen8-Jan-04 23:11
Cedric Moonen8-Jan-04 23:11 
GeneralRe: help me! NEW and DELETE function Pin
Alexander M.,9-Jan-04 5:13
Alexander M.,9-Jan-04 5:13 
GeneralRe: help me! NEW and DELETE function Pin
Cedric Moonen9-Jan-04 5:26
Cedric Moonen9-Jan-04 5:26 
GeneralODBC to read .dbf files in VC++ Pin
Qadddd8-Jan-04 21:58
Qadddd8-Jan-04 21:58 
GeneralRe: ODBC to read .dbf files in VC++ Pin
David Crow9-Jan-04 3:16
David Crow9-Jan-04 3:16 
Qadddd wrote:
1) I am obliged go thru the ODBC display to give again the name of the file, I can't set it by program ... why ?

It sounds like the "dBASE Files" DSN is not configured correctly. If it was, there would be no reason to specifiy filenames, database names, paths, etc in your code.

Assuming the database exists, you can create the DSN programatically by using SQLConfigDataSource(NULL, ODBC_ADD_DSN, ...).

Qadddd wrote:
res = "SELECT DATUM,CASHT,NETROOM from ["+File+"]";

I don't use .dbf files, but I think that File should be the name of a table within the database.

Qadddd wrote:
If I add the clause "WHERE" to my request, no record is returned ... why ?

What type of column is DATUM? It looks sort of like a date column, which means you use #02/08/2001# to compare against.


A rich person is not the one who has the most, but the one that needs the least.
GeneralRe: ODBC to read .dbf files in VC++ Pin
Qadddd9-Jan-04 4:05
Qadddd9-Jan-04 4:05 
GeneralGDI+ pointer problems Pin
User 404118-Jan-04 21:39
User 404118-Jan-04 21:39 
GeneralRe: GDI+ pointer problems Pin
User 404118-Jan-04 21:53
User 404118-Jan-04 21:53 
GeneralListBox in CComboBox Pin
Tonnystar8-Jan-04 21:25
Tonnystar8-Jan-04 21:25 
Generaloperator & on bool type Pin
Jerome Conus8-Jan-04 21:18
Jerome Conus8-Jan-04 21:18 
GeneralRe: operator & on bool type Pin
David Crow9-Jan-04 3:28
David Crow9-Jan-04 3:28 
GeneralExtract icons' formats Pin
bouli8-Jan-04 21:13
bouli8-Jan-04 21:13 
GeneralRe: Extract icons' formats Pin
KaЯl8-Jan-04 22:51
KaЯl8-Jan-04 22:51 
GeneralRe: Extract icons' formats Pin
bouli8-Jan-04 23:19
bouli8-Jan-04 23:19 
GeneralRe: Extract icons' formats Pin
KaЯl8-Jan-04 23:29
KaЯl8-Jan-04 23:29 
Generalremote installation problem Pin
skpanda8-Jan-04 20:53
skpanda8-Jan-04 20:53 
GeneralRe: remote installation problem Pin
Antti Keskinen9-Jan-04 3:57
Antti Keskinen9-Jan-04 3:57 
QuestionWhy it doesn't work? Pin
SiddharthAtw8-Jan-04 20:17
SiddharthAtw8-Jan-04 20:17 
AnswerRe: Why it doesn't work? Pin
Monty29-Jan-04 0:48
Monty29-Jan-04 0:48 
GeneralRe: Why it doesn't work? Pin
SiddharthAtw9-Jan-04 19:07
SiddharthAtw9-Jan-04 19:07 
GeneralProperty Sheet ShortCuts Pin
Prakash Nadar8-Jan-04 19:16
Prakash Nadar8-Jan-04 19:16 
GeneralVisual C++ NET Pin
java_jedi8-Jan-04 18:44
java_jedi8-Jan-04 18:44 

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.