G
Guest
.... this code just produces an error "what's this form then? I can't find it!"
Why won't it work?
Public Function SubExp() As Boolean
Dim SubForm As Access.Form
Set SubForm = Application.Forms("sub_Order_Detail")
If SubForm.SubdatasheetExpanded Then
SubExp = True
Else
SubExp = False
End If
End Functio
Why won't it work?
Public Function SubExp() As Boolean
Dim SubForm As Access.Form
Set SubForm = Application.Forms("sub_Order_Detail")
If SubForm.SubdatasheetExpanded Then
SubExp = True
Else
SubExp = False
End If
End Functio