Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 ADOQuery 上,我创建了一个 String Tfield 并将其大小设置为 24(来自 Fields Editor)。
当我尝试为该字段分配 24 个字符长度的字符串(qry.fieldbyname('fieldname').asString时,只添加前 20 个字符。我不明白为什么。
(qry.fieldbyname('fieldname').asString
查询如何填充数据?如果您正在对表进行选择,则该列的宽度将与表架构中的宽度相同。检查列在数据库中的定义方式。