T
TNL
Hi,
My Access VBA code access a module as following:
debug.print modules("modImportText").CountOfLines
the modul modImportText exists. But I receive always error:
"access can't find the modul ..."
when use VB 6.0 as following:
dim AccApp As Access.Application
Set AccApp = New Access.Application
AccApp.OpenCurrentDatabase "test.mdb"
With AccApp.Modules
For i = 0 To .Count - 1
debug.print .Item(i).Name
Next i
End With
The database test.mdb had 13 modules (4 standard and 9
classmodule, forms and reports), but the Modules.count
returns always only 6.
Why? Can anybody help me?
Thanks
TNL
Why
..
My Access VBA code access a module as following:
debug.print modules("modImportText").CountOfLines
the modul modImportText exists. But I receive always error:
"access can't find the modul ..."
when use VB 6.0 as following:
dim AccApp As Access.Application
Set AccApp = New Access.Application
AccApp.OpenCurrentDatabase "test.mdb"
With AccApp.Modules
For i = 0 To .Count - 1
debug.print .Item(i).Name
Next i
End With
The database test.mdb had 13 modules (4 standard and 9
classmodule, forms and reports), but the Modules.count
returns always only 6.
Why? Can anybody help me?
Thanks
TNL
Why
..