No Hourglass cursor during queries

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Jean-Luc

No Hourglass cursor during queries

Post by Jean-Luc » Mon 15 May 2006 15:38

- I use ODAC Net 5.70.0.28 in direct connect mode with BCB 6.0
- The problem I have is that no hourglass is displayed while executing queries.
- I've read the posts about this subject but nothing has solved my problem. For example I've tried :
"You need to add line #include "OdacVcl.hpp" to your unit.h file and line #pragma link "OdacVcl" to your unit.cpp file, then just build project. Also you can try our CBuilder demo project."
- When I start the ODAC BCB demo application, the hourglass appears fine.
- But in my case I not have a single exe. I have 200 bpls and 45 applications.
When I create a Query I do :
FQuery = new TOraQuery(NULL);
FQuery->UniDirectional = true;
FQuery->Session = FSession;
FQuery->FetchRows = FFetchBufferSize;
I do not use ODAC VCL components bu dropping them on a form, I create all objects dynamically (a TOraQuey and a TOraSession).

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Tue 16 May 2006 09:58

Make sure you have built your projects (choose Build for Project menu in the IDE) after
adding lines
#include "OdacVcl.hpp"
and
#pragma link "OdacVcl"
If you have made the projects instead of building this may not work.

If hourglass cursor will not appear please send to ODAC support address complete sample that
demonstrates the problem and include script to create server objects.

Post Reply