Hello everybody.
Hello everybody.
Is someone here who Can help me with Delphi and sqlite?
I have a Memo field with lots of Text but I cannot get it to work with any field Type.
I get an Error that there is no converter.
Thanks in advance
Frank
Is someone here who Can help me with Delphi and sqlite?
I have a Memo field with lots of Text but I cannot get it to work with any field Type.
I get an Error that there is no converter.
Thanks in advance
Frank
Please show a part of your code how do you read the database.
ReplyDeleteMaciej Wierzbowski I use a "select * from table1" to retrieve the data into a clientdataset. From there it goes straight into a datasource and the Single Fields are then Link with livebindings to different Controls. One control is a Memo. If needed I could Post the create Database scripts here. Just let me know.
ReplyDeleteTry to use yourmemo.text := YourField.AsMemo or AsText. Otherwise you should manualy read blob into tstream and then load it to tmemo using Something like Tblobfield(yourblobfield).savetostream(yourstream). Then yourstream.position:=0; memo.loadfromstream(yourstream). Dont forget yourstream := tmemorystream.create and yourstream.free ;)
ReplyDeleteHey Guys, in combination with another Problem i had with a locked database at startup i had to Change locking Mode to normal. Now it all works.
ReplyDeleteThanks for all the help.