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
クエリにはどのようにデータが入力されますか?テーブルに対して選択を実行している場合、列の幅はテーブルスキーマと同じになります。データベースで列がどのように定義されているかを確認してください。