close

We want to rename some Access queries that are used by an Excel file in an
External database query. But when we rename the queries in Access, the
Excel Query fails, because is doesn't recognize the renamed queries, and is
still looking for the old query names. Is there an easy way to fix the
Excel query so it is looking for the new query name?

Thanks.

I haven't tested this, but I'm pretty sure it will work.
Don't rename the Access Query....Make a copy of it in Access and rename the
copy.

Then, in Excel, edit the query
View the SQL code and replace the old query reference with the new one.
Then, return the data

Does that help?

***********
Regards,
Ronquot;UEUC2quot; wrote:

gt; We want to rename some Access queries that are used by an Excel file in an
gt; External database query. But when we rename the queries in Access, the
gt; Excel Query fails, because is doesn't recognize the renamed queries, and is
gt; still looking for the old query names. Is there an easy way to fix the
gt; Excel query so it is looking for the new query name?
gt;
gt; Thanks.

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 software 的頭像
    software

    software

    software 發表在 痞客邦 留言(0) 人氣()