rockman
Senior Member
- Local time
- Today, 07:20
- Joined
- May 29, 2002
- Messages
- 190
Hope someone can figure this out because I'm toast if I can't getting it working again. Code originally worked fine. I'm getting a "Method 'Item' of object 'Forms' failed" error.
Program errors on this line
Here's a sample of my immediate window debug:
? Forms.Count
2
? Forms(0).Name <--- Errors!!?! with "Application-defined or object-defined error"
Thanks for ANY help (I'm stumped),
Jeff
Program errors on this line
Code:
If Forms(i).Name = sFrmName Then <--- Error occurs here.
If Forms(i).CurrentView <> conFormDesign Then
GetFormLoaded = True
Exit Function ' Quit function once form has been found.
End If
End If
? Forms.Count
2
? Forms(0).Name <--- Errors!!?! with "Application-defined or object-defined error"
Thanks for ANY help (I'm stumped),
Jeff