G
Guest
i have a procedure:
Public Sub NegotSupDataTransfer()
' to delete old data from table, update with new data and open pivot table
DoCmd.Echo False, "Preparing data, please be patient."
DoCmd.OpenTable "NegotSummaryTable"
DoCmd.RunCommand acCmdSelectAllRecords
DoCmd.RunCommand acCmdDelete
DoCmd.OpenQuery "SummaryCaseQualityInfo2"
DoCmd.OpenQuery "SummaryPhoneQualityInfo2"
DoCmd.OpenQuery "SummaryWrittenQualityInfo2"
DoCmd.Close acTable, "NegotSummaryTable", acSaveYes
End Sub
everytime it runs access locks up and i have to close out. i'm fairly new to
VBA...any suggestions?
Public Sub NegotSupDataTransfer()
' to delete old data from table, update with new data and open pivot table
DoCmd.Echo False, "Preparing data, please be patient."
DoCmd.OpenTable "NegotSummaryTable"
DoCmd.RunCommand acCmdSelectAllRecords
DoCmd.RunCommand acCmdDelete
DoCmd.OpenQuery "SummaryCaseQualityInfo2"
DoCmd.OpenQuery "SummaryPhoneQualityInfo2"
DoCmd.OpenQuery "SummaryWrittenQualityInfo2"
DoCmd.Close acTable, "NegotSummaryTable", acSaveYes
End Sub
everytime it runs access locks up and i have to close out. i'm fairly new to
VBA...any suggestions?