DBAccess unit? (re screenCursor)

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
nasirnoor
Posts: 9
Joined: Wed 04 Jun 2008 20:13

DBAccess unit? (re screenCursor)

Post by nasirnoor » Fri 06 Jun 2008 20:15

I am using Delphi 5 w/ ODAC NET v5.70.0.28.

I notice that whenever I run a QuickReport and show a preview, the screen cursor changes to hourGlass. Olders posts on the forum suggest to change the screencursor variable in DBAccess unit. Is it (i.e. DBAccess) part of the source code package? I am just a little concerned that this solution requires to always remember to update the DBAccess unit whenever there is an updated version available.

Is there a "cleaner" way?

thx

MarkF
Posts: 211
Joined: Thu 02 Mar 2006 14:55

Post by MarkF » Fri 06 Jun 2008 20:29

I think you can just do:

// Tell ODAC not to change the cursor.
DBAccess.ChangeCursor := False;

Somewhere early on in your code (I do it on my mainform's create handler.) Hopefully no need to modify the source code!

-Mark

Post Reply