Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro substitution.
Message
From
27/10/2006 07:43:56
 
 
To
27/10/2006 07:39:30
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01164946
Message ID:
01164948
Views:
10
>How to perform substitution : thisform.objects in FOR EACH
>
>I try
>
>mFormObject = 'THISFORM.Objects'
>
>FOR EACH oControl IN &mformObject
> IF INLIST(UPPER(oControl.baseClass),'TEXTBOX','EDITBOX','COMBOBOX','CHECKBOX')
> BINDEVENT(oControl,'InteractiveChange',THISFORM,'mEnableSave')
> ENDIF
>ENDFOR
>
>
>But get error message : nesting error.
>
>
>TIA.

There appears to be no nesting error here (but it WOULD help if you indicated at which line it occurs).

Quite often nesting errors are knock-on effects from other code "Brackets", even mis-matched With ... EndWith, elsewhere in the code, higher up, and may have nothing to do with the line on which they are reported. Check the rest of your code.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform