General information
Category:
Coding, syntax & commands
I have the 'this.formset' reference, which it does not like. Seems like I have had the same problem in the past .. where a this.form does not work so i change it to this.parent.parent. If the control or method is anywhere under the form, should this.form work?
>Hi Brenda,
>I dunno what you did, but I generally leave ThisForm (I don't use formsets) references alone. Too easily broken. For example, if you refer to This.Parent in a control (meaning the Form) and then move the control to a Pageframe, you just broke the code.
>>I have a button on a form that is within a formset. Made and tested code changes ages ago that referenced 'thisformset.method1'. Now I am getting an error of methods1 not found (obviously I changed something, but I do not know what) Now when I code this.parent.parent.method1 (which is the formset) it works.
>
>>What is the "rule" for when you can use thisform or thisformset vs the this.parent type referencing?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only