>>I prefer a do case here :)
>>DO CASE
>>> CASE type("thisformset."+cFormname)="O"
>>> this.&cFormname..show()
>>> return 1
>>> CASE thisformset.addobject(cFormname,cFormname) AND
>formset."+cFormname)="O"
>>> && if Init successfully
>>> this.&cFormname..show()
>>> return 2
>>> OTHERWISE
>>> return 3
>>>ENDCASE
>
>Yes, I know that Case executes from top to bottom, but always suspect that
>something can happen and it will start move from bottom to top :)
This reminded me of the TI-58 calculator, which had a, well, kind of a
debugger with a single-stepper and a back-stepper(!)... maybe someone
could invent a backstep emulator for VFP, who knows :)