castor2003
Programmer
Something strange is happening to me which has cost me two nights of sleep.
I have this form with a CUSTOM VCR, with next,prev btns etc. I have a 'blockaction' method on that container that references the parent Form for Next,Add and all actions. The other method of that Vcr Container is a 'myrefresh' that tests the states of the containing buttons to enable and disable accordingly. This combination works fine in cases where I am using a single page form.
I am now using it on a two-page form.
When I issue the SCATTER I was hoping, like obtains in the single page form, that the created variables(m.photo etc) would be visible everywhere. Some how the the (m.) variables related to the page textbox controls are losing range when I come to Validating their contents before GATHERING them. The Save routine is run from a custom method of the Parent form.
What are the likely cause of this problem? When I trace the code, it seems to be losing scope at the point when command leaves the 'myrefresh' method of the VCR container and returns to the 'blockaction' method. The 'Blockaction' method is called from clicking on the buttons on the VCR container.
Does it have to do with the fact that I am using multi-pages on the form? Also, the form uses Private Data.
I have this form with a CUSTOM VCR, with next,prev btns etc. I have a 'blockaction' method on that container that references the parent Form for Next,Add and all actions. The other method of that Vcr Container is a 'myrefresh' that tests the states of the containing buttons to enable and disable accordingly. This combination works fine in cases where I am using a single page form.
I am now using it on a two-page form.
When I issue the SCATTER I was hoping, like obtains in the single page form, that the created variables(m.photo etc) would be visible everywhere. Some how the the (m.) variables related to the page textbox controls are losing range when I come to Validating their contents before GATHERING them. The Save routine is run from a custom method of the Parent form.
What are the likely cause of this problem? When I trace the code, it seems to be losing scope at the point when command leaves the 'myrefresh' method of the VCR container and returns to the 'blockaction' method. The 'Blockaction' method is called from clicking on the buttons on the VCR container.
Does it have to do with the fact that I am using multi-pages on the form? Also, the form uses Private Data.