Error in the structure window but app still runs.

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
wam067
Posts: 5
Joined: Fri 13 Mar 2009 18:29

Error in the structure window but app still runs.

Post by wam067 » Mon 24 Aug 2009 23:52

CodeGear™ RAD Studio 2007 (Version 11.0.2902.10471) shows:
Errors:
'TOraQuery' does not contain a member named 'FieldByName' at line ###
in the structure window, yet the application compiles and runs. I guess this is an error that is apparently not really an error but just a warning. I can get the message to go away by typecasting the TOraQuery as a Tquery, but it seems odd that I would need to do this. I'm sure I'm doing something wrong but after checking the FAQ I was not able to find anthing that helped. Also have the same problem with 'Close' , 'RecordCount' and others. Can someone tell me what I'm doing wrong?

Thanks,
WAM.

wam067
Posts: 5
Joined: Fri 13 Mar 2009 18:29

Error in the Structure window: Resolved (I think)

Post by wam067 » Tue 25 Aug 2009 15:08

As Rosanna Rosanna Danna often said; "Nevermind." This problem seems to have resolved itself somehow and the errors are no longer displaying in the structure window. Odd, but at least it isn't freaking me out anymore. It's like inheritance would work in the compiler but not at design time in interactive mode. Work's now though. Weird. Maybe our companys draconian viruscan policies could have locked up the file it was needing and today it has access. Only a guess.
WAM.

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Wed 26 Aug 2009 07:46

You can aviod such problems if you disable Error Insight:
- open Tools | Options in the IDE menu;
- select Editor Options | Code Insight;
- uncheck Error Insight.

Post Reply