oliver_penney
Board Regular
- Joined
- Dec 18, 2002
- Messages
- 182
hmm, i'm confused, in this code:-
Sub test9()
Dim loopy As Fields
For Each loopy In DBEngine.Workspaces(0).Databases(0).TableDefs("tbl_Exchange").Fields
MsgBox (loopy.Name)
Next
End Sub
it works if i dont declare loopy as a field, but leave it to go as a variant
but surely the objects in hte fields collection are fields?
??
oliver
Sub test9()
Dim loopy As Fields
For Each loopy In DBEngine.Workspaces(0).Databases(0).TableDefs("tbl_Exchange").Fields
MsgBox (loopy.Name)
Next
End Sub
it works if i dont declare loopy as a field, but leave it to go as a variant
but surely the objects in hte fields collection are fields?
??
oliver