Dugantrain
I Love Pants
- Local time
- Today, 18:59
- Joined
- Mar 28, 2002
- Messages
- 221
Iterate Through Forms Collection To Get Recordsources
Hi all,
I've been charged with redeveloping a huge (several 100+ tables, forms, etc.) database which was brought over from another company. I'm trying to iterate through the forms to get their RecordSources, but I can't quite get it. This doesn't seem to work as it doesn't recognize the RecordSource Property:
Any help?
Hi all,
I've been charged with redeveloping a huge (several 100+ tables, forms, etc.) database which was brought over from another company. I'm trying to iterate through the forms to get their RecordSources, but I can't quite get it. This doesn't seem to work as it doesn't recognize the RecordSource Property:
Code:
Public Function fFind_Stuff()
Dim frm As AccessObject
For Each frm In CurrentProject.AllForms
Debug.Print frm.RecordSource
Next
End Function
Last edited: