Excel to SQL ODBC link: not working when new field added

M

myemail.an

Hi all,

I use Excel 2007, and have some Excel files with ODBC link to tables
on a Microsoft SQL Server (2005 version).

If I change the number of records in the tables in sql and then
refresh the ODBC link, everything works fine.

However, if I add a field in SQL and then refresh in Excel, the new
field won't show up. Do you have any idea why, and how I could fix it?

Thanks!
 
R

Ross Culver

Assuming that your external data is linked using MS Query, you'll need to
edit the query to add any new fields added in SQL. A select statement in MS
Query such as "Select * from table" still won't add any additional fields
added to SQL after the MS Query was built.

Just edit the query to add the fields.

Ross
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top