D
David C. Holley
Is there a way, other than trapping for error 2452 - (The expression you
entered has an invalid reference to the Parent property) to determine
wether or not a form is being used as a subform.
On error resume next
t = me.parent.name
if err = 2452 then Debug.print 'Form is not being used as a subform'
entered has an invalid reference to the Parent property) to determine
wether or not a form is being used as a subform.
On error resume next
t = me.parent.name
if err = 2452 then Debug.print 'Form is not being used as a subform'