delete error tables

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying this code in VBA and i am gettting this erro

"data type mismatch"

Please help!!!!!
 
dimpie said:
If Right(dbCurr.TableDefs(intLoop), 6) = "Errors" Then


Check the name of the table"

If Right(dbCurr.TableDefs(intLoop).Name, 6) = "Errors" Then
 
the name of one of the table is "Summary$_ImportErrors". this is the name
generated by access when i import.
 
As Marsh correctly pointed out, I left off the name of the property (which
happens to be Name):

If Right(dbCurr.TableDefs(intLoop).Name, 6) = "Errors" Then


--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)


dimpie said:
If Right(dbCurr.TableDefs(intLoop), 6) = "Errors" Then
 
you are a great!!!!! IT WORKS!!!!!!!! Thanks a bunch guys. Dont know what i
would do without your help.
 
Back
Top