奇怪的问题!!!

mjyalik 2000-08-11 09:31:00
I use TQuery and TUpdateSQL to maintain ( Insert, Modify & Delete ) the table, it seems to work normally. Regarding the table with the Text field, however, it doesn't work well. When inserting or modifying a record for the table with Text field, the result is not the same as I like, in other words, it is incorrect. I cann't find the causes, would you please point out ? Thanks in advance !
...全文
146 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
mjyalik 2000-08-11
  • 打赏
  • 举报
回复
In my program, the Text field is TMemoField and linked to TDBMemo. I insert or modify the field in the DBMemo and post it, then call ApplyUpdate to update the record. The result in the table is not the text in the DBMemo. Why ?
Wingsun 2000-08-11
  • 打赏
  • 举报
回复
如果是Text类型的字段,你要存储的是二进制数据,如图像,OLE对象等。那么这个字段属于TBlobField类型的字段,在存储时受到一定的限制。BDE数据库的设定Blob Size决定了你可以存储的数据大小,Blob Size缺省是32,表示可存储32K的内容,你需要修改这个值,适应你的程序。
kxy 2000-08-11
  • 打赏
  • 举报
回复
贴一些代码上来
feng_bd 2000-08-11
  • 打赏
  • 举报
回复
>……the result is not the same as I like……

what do u mean?Describe it clear,please.

5,379

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 开发及应用
社区管理员
  • VCL组件开发及应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧