hi
I have a data module and a form.
DATAMODULE:
- contains the query component (TmyQuery from DevArt)
- TmyQuery contains NO events
FORM:
- contains a TmyDatasource (DevArt) with TmyDatasource.AutoEdit = False
- contains a DBGrid and everything is neatly linked
When I run it, the first record always comes in EDIT mode and is visible
to the icon in the dbgrid and i check this when i close the form. Also when you
navigate through the database every records comes in edit mode.
When i use the standard Delphi Datasource component and connect to
the same TmyQuery this behavior does NOT happen and records are
NOT in edit mode.
Regards Peter
DBgrid in edit mode with TmyDatasource and NOT with standard Datasource
-
- Posts: 7
- Joined: Sat 06 Jan 2018 15:37
Re: DBgrid in edit mode with TmyDatasource and NOT with standard Datasource
Unfortunately, we could not reproduce the issue.
In order for us to be able to give you a detailed answer, we need to have a sample demonstrating the specified behavior. Therefore, please compose a small sample demonstrating the described behavior and send it to using the contact form https://www.devart.com/company/contactform.html.
Also specify the version of the MySQL server, MyDAC and IDE that you are using.
In order for us to be able to give you a detailed answer, we need to have a sample demonstrating the specified behavior. Therefore, please compose a small sample demonstrating the described behavior and send it to using the contact form https://www.devart.com/company/contactform.html.
Also specify the version of the MySQL server, MyDAC and IDE that you are using.