If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Is my query at fault for a slow form?
It never fails, I build my database to the best of my abilities, and once I
split things move terribly slow. So I once again come for assistance. I've going through the steps of things to improve speed (persistent connection, track name auto correct to "no", shorten BE name and not placed several folders down. I was hoping someone could look at the SQL of my query (tied to the form) to see if anything might causing the form to take 40 seconds to load. Once open it tends to move relatively quicker (well, two very slow combo boxes which I'm looking into). SELECT tbl_salesorder.Sales_Order, tbl_salesorder.Client_ID, tbl_salesorder.Country_ID, tbl_salesorder.Denied_Party_List_Date, tbl_salesorder.Status, tbl_clients.Client, tbl_country.Countries, tbl_salesorder.Reviewer_Name, tbl_salesorder.Comments, tbl_salesorder.[Date_Approved/Denied], tbl_salesorder.Date_Received FROM tbl_country INNER JOIN (tbl_clients INNER JOIN tbl_salesorder ON tbl_clients.Client_ID = tbl_salesorder.Client_ID) ON tbl_country.Country_ID = tbl_salesorder.Country_ID WHERE (((tbl_salesorder.Date_Received) Between DateSerial(Year(Date()),Month(Date()),1) And DateSerial(Year(Date()),Month(Date())+2,1))) ORDER BY tbl_salesorder.Date_Received; Thanks! |
Thread Tools | |
Display Modes | |
|
|