I've done a select ... into via

VB Code:
  1. SqlCmd = "select LoanNumber, [Date], Status, MSI into #tempLoanStatus " & _
  2.          "from MonthlyData " & _
  3.          "where Shelf = '" & ShelfToPRocess & "'" & _
  4.          "order by LoanNumber, [Date]"
  5.  
  6. Set cmdGetLoanData = New ADODB.Command
  7. cmdGetLoanData.ActiveConnection = cnRFCData
  8. cmdGetLoanData.CommandTimeout = 0
  9. cmdGetLoanData.CommandText = SqlCmd
  10.  
  11. Set rsLoanTemp = cmdGetLoanData.Execute

and this would seem to work as it takes a few minutes to execute and no errors are returned (not necessarily a good assumption) but the question is: how do i then access the temp table #tempLoanStatus. i need to use the results in other sql selects. i tried to create a recordset via rsLoanTemp.Open etc but I keep getting a timeout error hence the command object