MDB too large (and I don't have access)

RSXchin

Well-known Member
Joined
Oct 23, 2010
Messages
758
My company has a godawful database program that will only allow certain pre-written queries. I would like to create the queries myself, but they won't allow access to be installed.

I can use the import data into excel, but I can only show the first 65000 records (yeah, 2003... I hate them so much).

I can use 65000 records, but I don't know how to show only the most recent ones. It'd be even better if I could only show the most recent 2000 or so.

Help me Obiwan Kenobi. You're my only hope.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
When importing the data do you have the option to query it, perhaps using MS Query?

If you do you could write your queries there using some simple SQL statements.

For example if you only want recent records, and there is a date field or similar in the table you can set the criteria to only return the records for a certain time period.
 
Upvote 0
I'm afraid I've never written queries, if you could maybe write this first one for me ;) maybe?

and there ARE 2 useful columns for this. "TransID" and "DateTimeStamp".
Since,
1. it is on an interprise machine
2. I only have 1 screen
3. I can't print and retype any lengthy vba

I'd prefer to use the interface as is. Also, I thought 2003 had a wizard. Can't find him.
 
Upvote 0
You basically want a "select top 2000 * from tablename order by transid" type
Query. Asking a bit much to be taught SQL in one question... ;)
 
Upvote 0
It shouldn't do as you are not loading the entire database into Excel, but you won't know until you try. If it does, then this whole question seems moot. ;)
Does your company not have SQL Server or another proper RDBMS - 1GB is a little large for Access in my opinion (and yes I know it will technically handle larger files)
 
Upvote 0
You don't need the field names .

The query Rory posted will return all the fields in the table.

Why don't you download Microsoft's SQL Express?
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,761
Members
452,940
Latest member
rootytrip

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