Blob := TMemoryStream.Create;
TBlobField(Query1.FieldByName('Content')).SaveToStream(Blob);
Blob.Seek(0, soFromBeginning);
tmpstr:=TStringList.Create;
tmpstr.LoadFromStream(Blob);
RichEdit_show.Clear;
RichEdit_show.Lines.Add('--------------------------------------------');
RichEdit_show.Lines.Add(tmpstr.Text+'');
RichEdit_show.Lines.Add('--------------------------------------------');
Blob.Free;
tmpstr.Free;这里提示"RichEdit insertion error"怎么回事嗄?
注:Content列存储的是MEMO型的字符串
TBlobField(Query1.FieldByName('Content')).SaveToStream(Blob);
Blob.Seek(0, soFromBeginning);
tmpstr:=TStringList.Create;
tmpstr.LoadFromStream(Blob);
RichEdit_show.Clear;
RichEdit_show.Lines.Add('--------------------------------------------');
RichEdit_show.Lines.Add(tmpstr.Text+'');
RichEdit_show.Lines.Add('--------------------------------------------');
Blob.Free;
tmpstr.Free;这里提示"RichEdit insertion error"怎么回事嗄?
注:Content列存储的是MEMO型的字符串
解决方案 »
- 已知进程名如何获取此进程窗口句柄啊?
- 我想做个安装程序,要求可以添加自己的图片作为程序的功能介绍,请问哪个工具可以哈
- ADO之间数据快速的复制
- access下,为什么执行adoquery1.insert后,所增加的记录是在数据库的最后呢?(在线等待)
- copy函数的问题
- 怎样压缩和修复数据库?
- 请教各位:用条形码控件Barcode编好的条形码打印程序,在普通打印机上可以正常地打印出来,但在斑马打印机上却没反应,为什么?
- 我用InstallShield 做个安装盘,但是我添加一些代码后,报错,编译不错,运行出错
- 抢答简单题目,大送分! 为什么我只能送40分? 如何多送啊?
- 大哥,那我可就不好意思了
- 哪些控件有将自己的文字内容直接拷贝到clipbord中的功能?
TBlobField(Query1.FieldByName('Content')).SaveToStream(Blob);
Blob.Seek(0, soFromBeginning);
tmpstr:=TStringList.Create;
tmpstr.LoadFromStream(Blob);
RichEdit_show.Clear;
RichEdit_show.Lines.Add('--------------------------------------------');
RichEdit_show.Lines.Add(tmpstr.Text+'');
RichEdit_show.Lines.Add('--------------------------------------------');
Blob.Free;
tmpstr.Free;这里提示"RichEdit insertion error"怎么回事嗄?
注:Content列存储的是MEMO型的字符串