0

I've taken over a project in Delphi XE4 and I've added some data aware controls to the project. The TDBGrid seems to work fine, but none of the TDBText controls are displaying anything - and it has me stumped. I can throw a TDBEdit on the form and hook it up and it works just fine.

Can anyone think of something that would prevent a TDBText control from working?

Jan Doggen
  • 8,799
  • 13
  • 70
  • 144
Alister
  • 6,527
  • 4
  • 46
  • 70
  • Maybe the wrong datatype in the field list or the query? – Jan Doggen Aug 29 '13 at 09:30
  • 1
    Did you forget to set up the DataSource and DataField connections (or use the wrong datasource)? I've never seen a case where a TDBText wouldn't update except when either the field it was connected to was empty, or it was connected to the wrong datasource (for instance, a second copy used for child forms or lookups). – Ken White Aug 29 '13 at 12:58
  • @KenWhite No all the wiring is correct, and things work fine outside this project. I've been busy stripping it back and rewrititing chunks of it but still no success. I had thought it might have redefined a type or something, but not that I can see. TDBEdits work fine so I have used these as a stop gap measure. – Alister Aug 30 '13 at 22:12

0 Answers0