ms access - Renaming ODBC query calls -
i have old vb6 application not have source code edit. application tries open table server table name has period on because old provider allowed periods on table names. now, trying make workaround using ms access table. problem ms access not allow periods on table names.
our problem vb6 application request table name maindir.itemstable , return table not found error because table or query cannot named on ms access period. there way can vba function trigger when external odbc call made database see incoming query , replace table name? example if th vb6 application sends sql query like:
select * dbname.tablename
how can make refer (or modify query) returns
select * dbname_tablename?
thank help.
Comments
Post a Comment