Re: SQL Query Invalid operation
From: Dirk Goldgar (dg_at_NOdataSPAMgnostics.com)
Date: 03/25/04
- Next message: Dirk Goldgar: "Re: Recordset VBA Programming"
- Previous message: Dan Artuso: "Re: delete records not selected"
- In reply to: Jonathan: "Re: SQL Query Invalid operation"
- Next in thread: Jonathan: "Re: SQL Query Invalid operation"
- Reply: Jonathan: "Re: SQL Query Invalid operation"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 25 Mar 2004 16:19:50 -0500
"Jonathan" <anonymous@discussions.microsoft.com> wrote in message
news:ED246EF1-6416-4818-B3C8-A3F7E156B380@microsoft.com
> I checked again to make sure all the column names were correct and
> they were. I also tried
>
> SELECT DISTINCT qry_BAREA_RULE_VIEW.ACONSIST AS TERMINAL,
> qry_BELT_IN_AREA_VIEW.INCLUDES
> FROM qry_BAREA_RULE_VIEW, qry_BELT_IN_AREA_VIEW WHERE
> qry_BAREA_RULE_VIEW.AINCLUDES = qry_BELT_IN_AREA_VIEW.CONSIST
>
> This gives me the same error as well. if there where clause is
> removed though they query is than able to output something.
>
> Both tables are made up of values from an oracle database and are
> both text type
The tables from which these queries are extracting data, are they linked
tables, so you're pulling data directly from the Oracle database, or
were they actually imported from Oracle into your Access database? From
the names, it would appear that this query is actually selecting from
other queries. What is the SQL of those queries? Also, what is the
exact error number and message that you are getting?
You've posted this message in the "modulesdaovba" newsgroup. Is there
actually any code involved here, or are you just working in the query
designer? If you're using code to build the querydef or open a
recordset on it, please post the code.
-- Dirk Goldgar, MS Access MVP www.datagnostics.com (please reply to the newsgroup)
- Next message: Dirk Goldgar: "Re: Recordset VBA Programming"
- Previous message: Dan Artuso: "Re: delete records not selected"
- In reply to: Jonathan: "Re: SQL Query Invalid operation"
- Next in thread: Jonathan: "Re: SQL Query Invalid operation"
- Reply: Jonathan: "Re: SQL Query Invalid operation"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|