Click here to Skip to main content
15,909,091 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to compile .exe without trash ? Pin
mirex1-Dec-04 4:54
mirex1-Dec-04 4:54 
GeneralRe: How to compile .exe without trash ? Pin
Blake Miller1-Dec-04 5:29
Blake Miller1-Dec-04 5:29 
GeneralRe: How to compile .exe without trash ? Pin
mirex2-Dec-04 3:28
mirex2-Dec-04 3:28 
GeneralRe: How to compile .exe without trash ? Pin
Blake Miller2-Dec-04 3:57
Blake Miller2-Dec-04 3:57 
GeneralRe: How to compile .exe without trash ? Pin
mirex2-Dec-04 20:29
mirex2-Dec-04 20:29 
GeneralRe: How to compile .exe without trash ? Pin
Blake Miller3-Dec-04 4:00
Blake Miller3-Dec-04 4:00 
GeneralRe: How to compile .exe without trash ? Pin
mirex3-Dec-04 22:42
mirex3-Dec-04 22:42 
Generalcrecordset moveNext truncate Pin
Anonymous30-Nov-04 9:19
Anonymous30-Nov-04 9:19 
Hi I have a database..application..
I used CDatabase and CRecordSet to minipulate database.
the db has memo fields and i have no problem inserting the data using sql statement into db.. but when I try to get back.. by using while loop and recordset.movenext()to
get the data back.. I got the error message which is
"Data truncate".

example
<br />
while(!records->IsEOF())<br />
{<br />
..<br />
..<br />
records->MoveNext();  <----- get error on reading the record that has long string data. but indeed it was only 356words in it.<br />
}<br />

}
If I delete that data or shorten the data length.. I got no error..

why am i having error when I get the data back from database and why there is no error when inserting the same data?
GeneralRe: crecordset moveNext truncate Pin
lisoft30-Nov-04 15:35
lisoft30-Nov-04 15:35 
Generalgenerate .lib file Pin
gecool30-Nov-04 6:44
gecool30-Nov-04 6:44 
GeneralRe: generate .lib file Pin
alex.barylski30-Nov-04 7:30
alex.barylski30-Nov-04 7:30 
GeneralRe: generate .lib file Pin
gecool1-Dec-04 23:14
gecool1-Dec-04 23:14 
GeneralCreateProcess in the service context Pin
pepe_ki30-Nov-04 6:34
pepe_ki30-Nov-04 6:34 
GeneralRe: CreateProcess in the service context Pin
Blake Miller30-Nov-04 6:46
Blake Miller30-Nov-04 6:46 
GeneralRe: CreateProcess in the service context Pin
pepe_ki30-Nov-04 7:03
pepe_ki30-Nov-04 7:03 
GeneralRe: CreateProcess in the service context Pin
Blake Miller1-Dec-04 5:36
Blake Miller1-Dec-04 5:36 
GeneralRe: CreateProcess in the service context Pin
pepe_ki1-Dec-04 11:12
pepe_ki1-Dec-04 11:12 
GeneralRe: CreateProcess in the service context Pin
pepe_ki1-Dec-04 13:09
pepe_ki1-Dec-04 13:09 
GeneralRe: CreateProcess in the service context Pin
Blake Miller2-Dec-04 3:50
Blake Miller2-Dec-04 3:50 
GeneralRe: CreateProcess in the service context Pin
pepe_ki1-Dec-04 13:30
pepe_ki1-Dec-04 13:30 
Generalautomation arguments array Pin
sougakoff30-Nov-04 6:27
sougakoff30-Nov-04 6:27 
GeneralHelp with regular/extension MFC dll Pin
Dudi Avramov30-Nov-04 6:15
Dudi Avramov30-Nov-04 6:15 
GeneralClipping regions Pin
Rassul Yunussov30-Nov-04 6:13
Rassul Yunussov30-Nov-04 6:13 
GeneralRe: Clipping regions Pin
PJ Arends30-Nov-04 11:32
professionalPJ Arends30-Nov-04 11:32 
GeneralDCOM Pin
Rassul Yunussov30-Nov-04 6:11
Rassul Yunussov30-Nov-04 6:11 

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.