dobroe vremya sutok,
pojalusta podskajite kak mojno s pomoshy richviewedit zapisac Unicode tekst v bazu dannix MS SQL?
i sootvetstvenno s pomoshy richview prochitat tuje zapis?
slishal chto eto mojno prodelats s pomoshy TStream no nekak ne mogu zastavis rabotat programe normalno.
kod programi vigladet tak:
TStream *Stream;
ado->Open();
ado->Insert();
ado->FieldByName("themeid")->AsInteger=Form2->themid;
ado->FieldByName("nom")->AsInteger=questnom;
ado->FieldByName("type")->AsInteger=0;
ado->FieldByName("status")->AsInteger=1;
Stream=ado->CreateBlobStream(ado->FieldByName("text")->AsWideString,bmWrite);
quest1->SaveRVFToStream(Stream,false);
Stream->Free();
ado->Post();
TrichviewEdit and blob stream
-
- Site Admin
- Posts: 17571
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: