tdbgrid
If you are developing database applications with tables containing MEMO fields, you'll notice that, by default, the TDBGrid component does not show the contents of a MEMO field inside a DBGrid cell.
如果使用包含MEMO字段的表开发数据库应用程序,则会注意到,默认情况下,TDBGrid组件不会显示DBGrid单元内MEMO字段的内容。
This article provides an idea of how to solve this TMemoField's issue (with a few more tricks)...
本文提供了有关如何解决此TMemoField问题的想法(还有更多技巧)...
TMemoField ( TMemoField )
Memo fields are used to represent lengthy text or combinations of text and numbers. When building database applications using Delphi, the TMemoField object is used to represent a memo field in a dataset. TMemoField encapsulates the fundamental behavior common to fields that contain text data or arbitrary length. In most databases, the size of the Memo field is limited by the size of the database.
备注字段用于表示冗长的文本或文本和数字的组合。 使用Delphi构建数据库应用程序时,TMemoField对象用于表示数据集中的备注字段。 TMemoField封装了包含文本数据或任意长度的字段共有的基本行为。 在大多数数据库中,“备注”字段的大小受数据库大小的限制。
While you can display the contents of a MEMO field in a TDBMemo component, by design the TDBGrid will only display "(Memo)" for the contents of such fields.
虽然您可以在TDBMemo组件中显示MEMO字段的内容,但通过设计,TDBGrid将仅为此类字段的内容显示“(备注)”。