Access query not updating excel pivot properly

JonnyHazell

New Member
Joined
Aug 29, 2013
Messages
11
Hi Guys!

Wondering if anyone has any idea on this - have a query in access that appears to be working fine inside access when run. Basically adding some product names via lookups from excel sheets using product numbers. I run the query in access and it works fine, everything filled out as expected.
The excel file linked to the query has suddenly stopped returning the product names, have not done anything differently in updating the DB, no moving files or the like. Just refreshing pivota as always have, connects ok etc. All the added indicators are available, just returning as blank. So its like the query isnt finding the lookups when refreshing via excel, but as i mentioned, running it in access is fine.

Any help much appreciated :)
Thanks!
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
If you mean DLookup function and that is what is in the query I'll start by saying that is highly inefficient and kind of redundant use of the function. A query should be able to do its own "look ups".
I think I'd try an Iff function in the query to return something (any word or value as appropriate for the field) if a field in the record is null. If you see the value returned by the function you know the field(s) you're looking up don't have values.

Some of your details are subject to interpretation. This
The excel file linked to the query
means what - you linked a sheet in Access as a table?
The excel file linked to the query has suddenly stopped returning the product names
If you open the workbook there is data in the sheet(s) or not?
 
Upvote 0

Forum statistics

Threads
1,216,500
Messages
6,131,016
Members
449,615
Latest member
Nic0la

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top