G
Guest
I see how I can open the database's modules. I would like to reformat my tab
spacing and update some calls.
Is there a way to open the module and then update the text?
Here is some sample code:
Dim obj As AccessObject, dbs As Object
Set dbs = Application.CurrentData
' Search for open AccessObject objects in AllTables collection.
For Each obj In dbs.AllTables
If (Left(obj.Name, 4) <> "MSys") Then
Debug.Print obj.Name, obj.Type
If obj.IsLoaded = True Then
' Print name of obj.
Debug.Print obj.Name & " is loaded"
End If
End If
Next obj
spacing and update some calls.
Is there a way to open the module and then update the text?
Here is some sample code:
Dim obj As AccessObject, dbs As Object
Set dbs = Application.CurrentData
' Search for open AccessObject objects in AllTables collection.
For Each obj In dbs.AllTables
If (Left(obj.Name, 4) <> "MSys") Then
Debug.Print obj.Name, obj.Type
If obj.IsLoaded = True Then
' Print name of obj.
Debug.Print obj.Name & " is loaded"
End If
End If
Next obj