Limit Excel Data Connection To Read 9000 Most Recent Records From Access

I have an Access 2007 database with records being inserted every 5 minutes, there are 17 columns.
1st column - date and time
2nd column to 17th column are values - (0-100)

My Excel 2007 OLEDB data connection to this database is: Provider=Microsoft.ACE.OLEDB.12.0;User ID=Admin;Data Source=C:\CALCOR\Pans.accdb;Mode=Read;Extended Properties="";Jet OLEDB:System database="";Jet OLEDB:Registry Path="";Jet OLEDB:Engine Type=6;Jet OLEDB:Database Locking Mode=0;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password="";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False;Jet OLEDB:Support Complex Data=False

The Excel 2007 pivot tables give the 10000 row exceeded error, is there a way to configure the OLEDB connection string to only retrieve the last/most-recent 9000 records?

0 answers