-
return syntax
I am very new to C++
I am trying to get text to print as follows:
Sentence One.
Sentence Two.
Sentence Three.
Sentence Four.
Sentence Five.
Everything prints fine until i try to add the "\r\n\r\n" into my statement. Then it cuts off text from the last sentences... any help would be appreciated. My sentence is as follows... thanks:
Code:
pDBView->Set_Field((CString)"Sentence one. \r\n\r\n Sentence Two. \r\n\r\n Sentence Three. \r\n\r\n Sentence Four. \r\n\r\n Sentence Five", TAG_VALUE, lRecord, ENTITY_INFORMATION);
-
Show us your code using code tags.
-
My guess is that windows control doesn't do newlines.
It might on the other hand put each request onto separate lines
Code:
pDBView->Set_Field((CString)"Sentence one");
pDBView->Set_Field((CString)"Sentence two");
-
Thanks!
Salem,
Thank you! I did that and everything worked for me. Thanks again for the help!
Beaner :cool: