Hi guys, is there a smarter way to retrieve the names of MY tables in my dtb with SKIPPING all those hidden and MSsystem tables ?
This usually works but it's dumb, you will agree ...
Set Dtb = CurrentDb
For Each Tdf In Dtb.TableDefs
If Left(Tdf.Name, 4) <> "MSys" And _
Left(Tdf.Name, 4) <> "~TMP" Then
MsgBox Tdf.Name
End If
Next Tdf
thanks
This usually works but it's dumb, you will agree ...
Set Dtb = CurrentDb
For Each Tdf In Dtb.TableDefs
If Left(Tdf.Name, 4) <> "MSys" And _
Left(Tdf.Name, 4) <> "~TMP" Then
MsgBox Tdf.Name
End If
Next Tdf
thanks