Inside of form "frmMain",  I have two forms : 
frmSearch
frmList
from a button in frmSearch, I want to change the visible property of controls in frmList
I tried the following, wich wont work
	
	
	
		
Any thoughts on what I am doing wrong
Thanks
 frmSearch
frmList
from a button in frmSearch, I want to change the visible property of controls in frmList
I tried the following, wich wont work
		Code:
	
	
	If curr = 1 Then
     Forms!frmList.debitoPH.Visible = False
     Forms!frmList.Debito.Visible = True
Else
     Forms!frmList.debitoPH.Visible = true
     Forms!frmList.Debito.Visible = false
End If
	Any thoughts on what I am doing wrong
Thanks