frmLogon is not a child object of frmIndex (even if you are showing it that way), so Forms!frmIndex!frmLogon is not valid.
You need to refer to the form directly, eg:
VB Code:
logonusername = Trim(Forms!frmLogon!txtusername)
|
Results 1 to 5 of 5
Threaded View
|
Click Here to Expand Forum to Full Width |