Treason
#@$%#!
- Local time
- Today, 10:26
- Joined
- Mar 12, 2002
- Messages
- 340
OK this has came up before, but never recieved a straight responce. Sometimes a user would want to auto delete import errors. I am not a great VBA scripter so I am hoping some of you pro's can help me. This is what i got so far.... don't laught to hard. But this should give u a basic idea of what I am looking for.
Function DelErrors()
Dim Variname As String
Variname = "'*' & 'error' & '*'"
DoCmd.DeleteObject acTable, Variname
End Function
apparently wildcards are not useable here. So I also thought Right([Table_Reference?],12) like "ImportErrors"
I know I am off... but I am just throwing ideas out, Any help is appreciated

Function DelErrors()
Dim Variname As String
Variname = "'*' & 'error' & '*'"
DoCmd.DeleteObject acTable, Variname
End Function
apparently wildcards are not useable here. So I also thought Right([Table_Reference?],12) like "ImportErrors"

I know I am off... but I am just throwing ideas out, Any help is appreciated
