TQuery problem -- 'Table Does Not Exist'
Quote
Lizard (liz...@expressway.com) wrote:
: I am having a problem with TQuery, and I'm hoping someone can help me....
: I have a *very* basic query, a simple "select * from MyTable where Somefield=1".
: When I have 'LiveResult' set to false, the query works perfectly, returning
: precisely the data I wish. But when I set LiveResult to *true*, so I can edit
: rows, the query bombs, claiming 'The Table does not exist'. ARRRGHHHH! This
: occurs in both the runtime and design-time environments. The fact that the query
: works under some conditions leads me to conclude the fault, dear Brutus, lies
: not in our SQL, but in our VCL. :)
: I am using ODBC to talk to Oracle Workgroup Server running under Novell. All of
: my TTable components are getting their data without trouble.
Can you post the SQL statement used?
Also, run the ODBC Manager applet in Control Panel, click the Options
button, and enable ODBC trace by making the Trace ODBC Calls checkbox
checked. Run the application and then look at the trace file to see what
ODBC commands were actually sent.
This works for other table access -- ODBC or not. The ODBC vendor, on
seeing the ODBC trace, may be able to advise what is occurring.
--
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/ Steve Koterski _/ The opinions expressed here are _/
_/ koter...@borland.com _/ exclusively my own _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/