- Posts: 18
- Thank you received: 0
- Forum
- CodeTyphon Studio
- CodeTyphon Studio Components and Libraries
- Graphics Development
- Problem with ORCA and DBGrid
×
Components and Libraries for Graphics Development, discussions, problems and suggestions.
Question Problem with ORCA and DBGrid
- Marcin W.
- Topic Author
- Offline
- New Member
-
Less
More
5 years 6 months ago - 5 years 6 months ago #10393
by Marcin W.
Problem with ORCA and DBGrid was created by Marcin W.
Hi!
1. Windows 10 Prof
2. CT 5.8
3. ZEOS components as data source from SQlite data base.
4. On form I put TD2Scene object, then TD2Background, and then TD2DBGrid.
5. I connect DBGrid to DataSource.
6. As far I don't create columns and connect them to the fields from DataSource, everything is fine.
But after connecting columns to fields, when I close application, it crashes.
greetings,
Marcin
1. Windows 10 Prof
2. CT 5.8
3. ZEOS components as data source from SQlite data base.
4. On form I put TD2Scene object, then TD2Background, and then TD2DBGrid.
5. I connect DBGrid to DataSource.
6. As far I don't create columns and connect them to the fields from DataSource, everything is fine.
But after connecting columns to fields, when I close application, it crashes.
greetings,
Marcin
Last edit: 5 years 6 months ago by Marcin W..
Please Log in or Create an account to join the conversation.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
5 years 6 months ago #10394
by Sternas Stefanos
PilotLogic Architect and Core Programmer
Replied by Sternas Stefanos on topic Problem with ORCA and DBGrid
Thanks Sir
any sample project ?
(zip and attach here)
any sample project ?
(zip and attach here)
PilotLogic Architect and Core Programmer
Please Log in or Create an account to join the conversation.
- Marcin W.
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 18
- Thank you received: 0
5 years 6 months ago #10395
by Marcin W.
Replied by Marcin W. on topic Problem with ORCA and DBGrid
Here you are.
greetings
Marcin
greetings
Marcin
Attachments:
Please Log in or Create an account to join the conversation.
- Marcin W.
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 18
- Thank you received: 0
5 years 6 months ago #10396
by Marcin W.
Replied by Marcin W. on topic Problem with ORCA and DBGrid
I've just realized that problem does not occur when the base is empty.
Sample data in attachment.
Sample data in attachment.
Attachments:
Please Log in or Create an account to join the conversation.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
5 years 6 months ago #10397
by Sternas Stefanos
PilotLogic Architect and Core Programmer
Replied by Sternas Stefanos on topic Problem with ORCA and DBGrid
PilotLogic Architect and Core Programmer
Attachments:
Please Log in or Create an account to join the conversation.
- Helder R. C.
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
5 years 5 months ago #10398
by Helder R. C.
Replied by Helder R. C. on topic Problem with ORCA and DBGrid
For some time I also had problems with TD2DBGrid and I was not successful either. I had to use another grid.
See here
If the problem is resolved, I can reconsider using it again.
See here
If the problem is resolved, I can reconsider using it again.
Please Log in or Create an account to join the conversation.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
5 years 5 months ago - 5 years 5 months ago #10399
by Sternas Stefanos
PilotLogic Architect and Core Programmer
Replied by Sternas Stefanos on topic Problem with ORCA and DBGrid
Guys
we "partial" fix the problem
Please TRY to Free TD2DBGrid before ZQuery1.close
In our tests (Win10-32 and Win10-64) work OK
PS: This sample is in Lab CT-CodeOcean now...
we "partial" fix the problem
Please TRY to Free TD2DBGrid before ZQuery1.close
procedure TForm1.FormClose(Sender: TObject; var CloseAction: TCloseAction);
begin
FreeAndNil(DBGrid1); // SOS Free TD2DBGrid before ZQuery1.close
ZQuery1.Close;
end;
In our tests (Win10-32 and Win10-64) work OK
PS: This sample is in Lab CT-CodeOcean now...
PilotLogic Architect and Core Programmer
Last edit: 5 years 5 months ago by Sternas Stefanos.
Please Log in or Create an account to join the conversation.
- Marcin W.
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 18
- Thank you received: 0
5 years 5 months ago #10400
by Marcin W.
Replied by Marcin W. on topic Problem with ORCA and DBGrid
On Windows 10 Prof 64 and CT 5.8 it works too.
greeting
Marcin
greeting
Marcin
Please Log in or Create an account to join the conversation.