Please help. I have a database that is split. It uses many internal tables, but one of them is linked to our mainframe computer for its data.
Anyhow this table can have between 12 and 18 thousand records. It gets purged weekly.
Here's the situation: My table contains records from approximately 7 days worth of data which was retrieved from PCs from our facility. I use the DMax funtion to look at the date field in my table, and retrieve only the highest transmission date from each PC.
The reason i use this function is because not every PC will report back data every day. Which means on today's date, 20050711, that may be the highest date for 50 of my records, but the most recent date for some of the PCs may be 20050708.
I need to show every PC's data, regardless of when their most recent date is.
The problem with my method, is that it is EXTREMLY slow. I followed any suggestion I found so far and still can't make it go any faster. Please help me find a better way.
Anyhow this table can have between 12 and 18 thousand records. It gets purged weekly.
Here's the situation: My table contains records from approximately 7 days worth of data which was retrieved from PCs from our facility. I use the DMax funtion to look at the date field in my table, and retrieve only the highest transmission date from each PC.
The reason i use this function is because not every PC will report back data every day. Which means on today's date, 20050711, that may be the highest date for 50 of my records, but the most recent date for some of the PCs may be 20050708.
I need to show every PC's data, regardless of when their most recent date is.
The problem with my method, is that it is EXTREMLY slow. I followed any suggestion I found so far and still can't make it go any faster. Please help me find a better way.