Forum > Databases

TDbedit doesn't work

(1/1)

syalyshev:
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:

--- Quote from: syalyshev on November 16, 2021, 03:39:41 pm --- Whhat do I do wrong now?

--- End quote ---
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. 

Navigation

[0] Message Index

Go to full version