Recent

Author Topic: [SOLVED] How to get text from a TDBText, TDBMemo or TDBEdit?  (Read 2712 times)

vasskalinin

  • New Member
  • *
  • Posts: 10
[SOLVED] How to get text from a TDBText, TDBMemo or TDBEdit?
« on: December 03, 2016, 06:32:25 pm »
When I use any of them they display the field content, but I don't know how to use their text on the program, or is there other way to obtain the text of a specific field that results from a SQL query?
« Last Edit: December 03, 2016, 07:05:06 pm by vasskalinin »

Thaddy

  • Hero Member
  • *****
  • Posts: 8664
Re: How to get text from a TDBText, TDBMemo or TDBEdit?
« Reply #1 on: December 03, 2016, 06:44:46 pm »
property text.
Most people that want to use threading should learn to patch their jeans first: use a needle.

vasskalinin

  • New Member
  • *
  • Posts: 10
Re: How to get text from a TDBText, TDBMemo or TDBEdit?
« Reply #2 on: December 03, 2016, 07:06:15 pm »
Oh, I didn't notice TDBEdit does have it, TDBText doesn't.

FTurtle

  • Sr. Member
  • ****
  • Posts: 259
Re: [SOLVED] How to get text from a TDBText, TDBMemo or TDBEdit?
« Reply #3 on: December 03, 2016, 11:44:25 pm »
If you will work via fields instead controls then you can use field's property AsString

vasskalinin

  • New Member
  • *
  • Posts: 10
Re: [SOLVED] How to get text from a TDBText, TDBMemo or TDBEdit?
« Reply #4 on: December 04, 2016, 08:34:33 pm »
If you will work via fields instead controls then you can use field's property AsString
How do I do that?


vasskalinin

  • New Member
  • *
  • Posts: 10
Re: [SOLVED] How to get text from a TDBText, TDBMemo or TDBEdit?
« Reply #6 on: December 05, 2016, 03:11:35 am »
Thank you!