如题
解决方案 »
- ▲▲▲▲▲如何用FormatDateTime函数取得当前日期的时分秒???▲▲▲▲▲
- 有关FASRTPROT如何直接打印的问题,总是弹出系统对话框,如何处理呢?
- 如何调用模拟器玩街机游戏
- treeview问题
- 如何把twebbrowser中的所有内容存成一张位图?无论她是否在屏幕上能够显示完全,无论有没有滚动条?
- 大虾提供一下delphi developer guide 的代码包
- 除delphi自带的做安装盘的工具外,还有哪些其它的方式?
- 哪里有delphi6组件的详细介绍?
- 在Delphi下有没有SAX控件?如何用?
- PWP , Pascal-Web-Page , Pascal Web开发脚本编译器开发笔记
- 如何使我的程序在执行时,响应MOUSE
- DELPHI中sql语句问题???
This error occurs because Paradox has detected that a file is not in Paradox format or that the table header has inconsistencies and it can't open the table. Usually this error occurs if a table was closed abnormally, such as when a user turns off the PC without exiting the program.
----
Answer: It is an error in the database in one of the graphic fields. You can either delete the button or
picture that has the error or replace the corrupted graphic in ObjectEditor. The main difficulty is
finding this corrupted field. Do it in TOE (Talisman Object Editor). Most likely the error is in one of
the last changed buttons. Look ALL graphic buttons in theme. If TOE gives BLOB error message - delete
this button or replace pictures of this button. Another and cardinal way is to replace all database files
runic.* with new. 出错原因是保存BLOB字段方法,用流模式保存和读取没有问题
var Stream: TBlobStream;
begin
Table1.Append;
Stream:=TBlobStream.Create(table1pic, bmWrite);
Image1.Picture.Graphic.SaveToStream(Stream);
Table1Index.Value:= inputbox('Please input the name','name','');
Table1.Post;
Stream.Free;
end;读取var Stream: TStream;
begin
JpegFace:=TJPEGImage.Create;
Stream:=Table1.CreateBlobStream(Table1Pic,bmRead);
JpegFace.LoadFromStream(Stream);
Image1.Picture.Graphic:=JpegFace;
Stream.Free;
JpegFace.Free;
end;