dhookom gave a very helpful tip on how to filter the data with a passthru query using vb here is the code he suggested per my needs
Private Sub Command0_Click()
Dim db As DAO.Database
Dim qd As DAO.QueryDef
Set db = CurrentDb
Set qd = db.QueryDefs("ZDOR")
qd.SQL = "SELECT * FROM DSS_USER.V_Portal_ZDOR " & _
"WHERE NIIN IN ('011026065')"
docmd.openquery "ZDOR"
In his suggestion he said that this speeds up the process from about 30 minutes to 5 seconds..Unfortunately I can't seem to get this to work, when I click on Command) Access just gives me a hourglass and locks up. Am IO doing something wrong?
Private Sub Command0_Click()
Dim db As DAO.Database
Dim qd As DAO.QueryDef
Set db = CurrentDb
Set qd = db.QueryDefs("ZDOR")
qd.SQL = "SELECT * FROM DSS_USER.V_Portal_ZDOR " & _
"WHERE NIIN IN ('011026065')"
docmd.openquery "ZDOR"
In his suggestion he said that this speeds up the process from about 30 minutes to 5 seconds..Unfortunately I can't seem to get this to work, when I click on Command) Access just gives me a hourglass and locks up. Am IO doing something wrong?