B
Bogdan Zamfir
Hi,
I have a strange problem here
I have the following code:
Dim tb As TableDef
Set tb = CurrentDb.TableDefs("Events")
Dim fld As Field, I As Integer
For I = 0 To tb.Fields.Count - 1
When I run the FOR line, I get the error :
Runtime error 3420 : Object invalid or no longer set.
What is wrong here? Intellisense show Fields colection for Tabledef object
(as expected)
Regards,
Bogdan
I have a strange problem here
I have the following code:
Dim tb As TableDef
Set tb = CurrentDb.TableDefs("Events")
Dim fld As Field, I As Integer
For I = 0 To tb.Fields.Count - 1
When I run the FOR line, I get the error :
Runtime error 3420 : Object invalid or no longer set.
What is wrong here? Intellisense show Fields colection for Tabledef object
(as expected)
Regards,
Bogdan