Welcome, Guest
Username: Password: Remember me
Components and Libraries for Graphics Development, discussions, problems and suggestions.
  • Page:
  • 1

TOPIC:

Problem with ORCA and DBGrid 7 years 11 months ago #10393

  • Marcin W.
  • Marcin W.'s Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 0
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

Please Log in or Create an account to join the conversation.

Last edit: by Marcin W..

Problem with ORCA and DBGrid 7 years 11 months ago #10394

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4538
  • Thank you received: 1116
Thanks Sir
any sample project ?

(zip and attach here)
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Problem with ORCA and DBGrid 7 years 11 months ago #10395

  • Marcin W.
  • Marcin W.'s Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 0
Here you are.

greetings
Marcin
Attachments:

Please Log in or Create an account to join the conversation.

Problem with ORCA and DBGrid 7 years 11 months ago #10396

  • Marcin W.
  • Marcin W.'s Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 0
I've just realized that problem does not occur when the base is empty.
Sample data in attachment.
Attachments:

Please Log in or Create an account to join the conversation.

Problem with ORCA and DBGrid 7 years 11 months ago #10397

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4538
  • Thank you received: 1116
Thanks Sir

The problem is in pl_ORCA library
please give us time to solve this...

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Problem with ORCA and DBGrid 7 years 11 months ago #10398

  • Helder R. C.
  • Helder R. C.'s Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
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.

Please Log in or Create an account to join the conversation.

Problem with ORCA and DBGrid 7 years 11 months ago #10399

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4538
  • Thank you received: 1116
Guys
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

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Problem with ORCA and DBGrid 7 years 11 months ago #10400

  • Marcin W.
  • Marcin W.'s Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 0
On Windows 10 Prof 64 and CT 5.8 it works too.

greeting
Marcin

Please Log in or Create an account to join the conversation.

  • Page:
  • 1