LPARAMETERS llSetControls
IF PCOUNT() = 1 AND llSetContols
Actions...
ELSE
DODEFAULT()
ENDIF
Several people have however suggested to me that this smacks of bad design, so this may be an interim solution until I can manage a restructure. Thanks anyway!
>The code in the commandbutton seems like
> thisform.refresh(.f.).
>The code in the refresh() method of your form seems like
> lparameters true
> if parameters() = 0 or true
> ...sentences
> endif
>¿is this a solution for you ?