Sujet : [Access] Tester l'existence d'une table en VB ? |
k-id |
robinmasters a écrit a écrit :
c'est plutot ca!
Set monwork = DBEngine.Workspaces(0) Set mabd = monwork.Databases(0) For I = 0 To mabd.TableDefs.Count - 1 Set matable = mabd.TableDefs(I)
If matable.name = "toto" Then trouve = "oui" exit sub end if next
|
j'essaye ça... |