Hi all,I upsized an access 2003 db to sql server 2008. I am using access 2003 as front end. I have the update queries that I run in a function as follows(sql view) I am using the docmd open query:UPDATE tblDTF_SHIPMENT_TEMP INNER JOIN dbo_tblZipcode ON tblDTF_SHIPMENT_TEMP.RECIPIENTZIP = dbo_tblZipcode.txtZIPCODE SET tblDTF_SHIPMENT_TEMP.RECIPIENTCITY = [dbo_tblZipcode].[txtCity], tblDTF_SHIPMENT_TEMP.RECIPIENTSTATE = [dbo_tblZipcode].[txtState];
UPDATE tblDTF_SHIPMENT_TEMP INNER JOIN dbo_tblCarrierID ON tblDTF_SHIPMENT_TEMP.CARRIERID = dbo_tblCarrierID.txtCARRIERID SET tblDTF_SHIPMENT_TEMP.CARRIERNAME = [dbo_tblCARRIERID].[txtCARRIERNAME];
UPDATE tblDTF_SHIPMENT_TEMP INNER JOIN qryCOUNTRYREGION ON tblDTF_SHIPMENT_TEMP.RECIPIENTSTATE = qryCOUNTRYREGION.txtSTATE SET tblDTF_SHIPMENT_TEMP.COUNTRYREGRECIPIENT = [qryCOUNTRYREGION].[txtREGIONDESC];
I also have an append query in this function that runs after these update queries.When I run the function like normal from the access front end; it takes a very long time.Do I need to convert this to a stored procedure or what do I need to do to cut this time down.Please help! Thank you.