I am trying to set the sub-form to not editable based on a value in the Main Form. I call a function in the sub-form from the main form which contains CurrForm.Editable(False) but nothing happens and the form is still editable.
I have a function in the SubForm called DOEditable() which contains CurrForm.Editable(False). This funciton is called from an OnValidate trigger from the Main Form. (along with other code)
The function is called and the CurrForm.Editable(false) is run but it still allows the user to enter into the SubForm.
I see that in one of the posts someone is saying that CurrForm.Update should be used but where? If it put it in the DoEditable function in the SubForm I just get an error message saying that the form is not open.
Comments
http://www.mibuso.com/forum/viewtopic.php?t=7896
http://www.mbsonline.org/forum/topic.asp?TOPIC_ID=15629
http://www.BiloBeauty.com
http://www.autismspeaks.org
I have a function in the SubForm called DOEditable() which contains CurrForm.Editable(False). This funciton is called from an OnValidate trigger from the Main Form. (along with other code)
The function is called and the CurrForm.Editable(false) is run but it still allows the user to enter into the SubForm.
I see that in one of the posts someone is saying that CurrForm.Update should be used but where? If it put it in the DoEditable function in the SubForm I just get an error message saying that the form is not open.
Thanks
http://www.BiloBeauty.com
http://www.autismspeaks.org