Ok, my problem is the following:
I have very complicated Access 97 databases that link through ODBC to
Sybase databases.
Now in some of the forms controls I had queries that used as "where
clause" parameters form field values; For example:
select foo from bar where a_colmun = [forms]![MyForm]![MyField]
This worked in Access 97 but fails in Access 2002 (ODBC failure) when
the table *bar* is an ODBC Sybase (in my case) linked table.
If *bar* were a local Access table, the query would do fine.
if i did
select foo from bar where a_colmun = (select
[forms]![MyForm]![MyField] from dual)
where *dual* is a table with only one line of data. That works, but it
slows my queries.
Someone have a solution ? (i cannot upgrade to newer versions of
Access)
Thanx in advance