Click here to Skip to main content
15,915,324 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionwhat this code is doing? Pin
With_problem26-Sep-06 20:28
With_problem26-Sep-06 20:28 
AnswerRe: what this code is doing? Pin
Hamid_RT26-Sep-06 20:39
Hamid_RT26-Sep-06 20:39 
GeneralRe: what this code is doing? Pin
With_problem26-Sep-06 20:59
With_problem26-Sep-06 20:59 
GeneralRe: what this code is doing? Pin
Hamid_RT27-Sep-06 8:24
Hamid_RT27-Sep-06 8:24 
GeneralRe: what this code is doing? Pin
With_problem26-Sep-06 21:00
With_problem26-Sep-06 21:00 
GeneralRe: what this code is doing? Pin
Hamid_RT26-Sep-06 22:10
Hamid_RT26-Sep-06 22:10 
AnswerRe: what this code is doing? Pin
Steve Echols26-Sep-06 21:09
Steve Echols26-Sep-06 21:09 
AnswerRe: what this code is doing? Pin
Steve Echols26-Sep-06 21:20
Steve Echols26-Sep-06 21:20 
Not sure exactly what your're trying to do, but your insert into statements don't look right.

To add records, you can either use insert into statements or recordset's addnew/update, but you don't need to do both.

database.Execute( "INSERT INTO MyTable(MarketNo, MarketName, Bid, Ask, MarketState) VALUES('1', 'myname', '123', '150', 'A')" );




- S
50 cups of coffee and you know it's on!

GeneralRe: what this code is doing? Pin
With_problem26-Sep-06 21:27
With_problem26-Sep-06 21:27 
GeneralRe: what this code is doing? Pin
Steve Echols26-Sep-06 21:37
Steve Echols26-Sep-06 21:37 
QuestionRe: what this code is doing? Pin
David Crow27-Sep-06 3:13
David Crow27-Sep-06 3:13 
AnswerRe: what this code is doing? Pin
Reagan Conservative27-Sep-06 8:32
Reagan Conservative27-Sep-06 8:32 
Questionserial communication prog? Pin
Sunshine Always26-Sep-06 20:25
Sunshine Always26-Sep-06 20:25 
AnswerRe: serial communication prog? Pin
Hamid_RT26-Sep-06 20:40
Hamid_RT26-Sep-06 20:40 
AnswerRe: serial communication prog? Pin
Ștefan-Mihai MOGA26-Sep-06 22:51
professionalȘtefan-Mihai MOGA26-Sep-06 22:51 
QuestionMemory Allocation Pin
Polite Programmer26-Sep-06 20:10
Polite Programmer26-Sep-06 20:10 
AnswerRe: Memory Allocation Pin
Cedric Moonen26-Sep-06 20:10
Cedric Moonen26-Sep-06 20:10 
GeneralRe: Memory Allocation Pin
Polite Programmer26-Sep-06 20:22
Polite Programmer26-Sep-06 20:22 
GeneralRe: Memory Allocation Pin
Cedric Moonen26-Sep-06 20:28
Cedric Moonen26-Sep-06 20:28 
QuestionRe: Memory Allocation Pin
David Crow27-Sep-06 3:16
David Crow27-Sep-06 3:16 
AnswerRe: Memory Allocation Pin
User 21559726-Sep-06 20:26
User 21559726-Sep-06 20:26 
GeneralRe: Memory Allocation Pin
Polite Programmer26-Sep-06 20:31
Polite Programmer26-Sep-06 20:31 
QuestionRe: Memory Allocation Pin
David Crow27-Sep-06 3:22
David Crow27-Sep-06 3:22 
GeneralRe: Memory Allocation Pin
nutkase27-Sep-06 18:35
nutkase27-Sep-06 18:35 
AnswerRe: Memory Allocation Pin
kakan26-Sep-06 20:33
professionalkakan26-Sep-06 20:33 

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.