Recent

Author Topic: TDbedit doesn't work  (Read 1058 times)

syalyshev

  • New Member
  • *
  • Posts: 25
TDbedit doesn't work
« on: November 16, 2021, 03:39:41 pm »
TDBEdit doesn't work. Simplest MySQL Database with 1 table of two columns. On the form there are: DBEdit, DBGrid, DBNavigator. DBGrid has dgEditing option = true. Fields of DBGrid are not accessible. Meanwhile, I resently have done the similar program that works fine with two similar tables and I didn't care when used DBEdit, DBGrid, DBNavigator. Everything worked. Whhat do I do wrong now?

af0815

  • Hero Member
  • *****
  • Posts: 937
Re: TDbedit doesn't work
« Reply #1 on: November 16, 2021, 03:47:38 pm »
Whhat do I do wrong now?
Not to enclose a simple sampleprogram.

With your input i can only say - is the resultset from the db editable ? If it is a readonly dataset, you cant edit it. It can depend on your used Query. Without a (found) primary key it will be readonly. 
regards
Andreas

 

TinyPortal © 2005-2018