Page 1 of 1

DBAccess unit? (re screenCursor)

Posted: Fri 06 Jun 2008 20:15
by nasirnoor
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

Posted: Fri 06 Jun 2008 20:29
by MarkF
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