Hi guys
I am trying automatically rebuild one of my databases, that has some ODBC links in it. Obviously each time I open the table, a password is requested.
So I have created a passthrough query that opens the ODBC link, and then when I open the table - it works!
The only problem is - some of the tables dont seem to work with this passthrough. SO I have created passthrough queries that open a record in these tables that dont work, and put them in a macro that runs the passthroughs and then opens the tables.
BUT I have a little trouble with some of my SQL. the following passthrough works perfectly :
SELECT HUBE.APPLICATION.APPLIC_ID
FROM HUBE.APPLICATION
WHERE (((HUBE.APPLICATION.APPLIC_ID)=21))
BUT this SQL (which opens a different table) does not work:
SELECT HUBE_ACCOUNT_TAX_VAT.PERCENTAGE
FROM HUBE_ACCOUNT_TAX_VAT
WHERE (((HUBE_ACCOUNT_TAX_VAT.PERCENTAGE)=80))
Any ideas why one works and not the other. Or BETTER STILL -have you any ideas of how I can open up the connection once with a set password, and it to stay open for me to open however many tables I want to?
HELP!!!!!
I am trying automatically rebuild one of my databases, that has some ODBC links in it. Obviously each time I open the table, a password is requested.
So I have created a passthrough query that opens the ODBC link, and then when I open the table - it works!
The only problem is - some of the tables dont seem to work with this passthrough. SO I have created passthrough queries that open a record in these tables that dont work, and put them in a macro that runs the passthroughs and then opens the tables.
BUT I have a little trouble with some of my SQL. the following passthrough works perfectly :
SELECT HUBE.APPLICATION.APPLIC_ID
FROM HUBE.APPLICATION
WHERE (((HUBE.APPLICATION.APPLIC_ID)=21))
BUT this SQL (which opens a different table) does not work:
SELECT HUBE_ACCOUNT_TAX_VAT.PERCENTAGE
FROM HUBE_ACCOUNT_TAX_VAT
WHERE (((HUBE_ACCOUNT_TAX_VAT.PERCENTAGE)=80))
Any ideas why one works and not the other. Or BETTER STILL -have you any ideas of how I can open up the connection once with a set password, and it to stay open for me to open however many tables I want to?
HELP!!!!!