Another possibility, though not very elegant would be
llError = .F. ON ERROR llError = .T. REPLACE .... WITH ....... IF llError blah = somevalue ENDIF
Of course you'd have to save and restore your original ON ERROR
On 31 Oct 2003 at 12:01, jsm.maurice wrote:
> I am trying to 'simulate' the controlsource property in a class based > on a container. I have created a ControlSource property with an > _assign method. It works great except for a point : if the value of > the controlsource propety is a variable, I must update it with the > equal sign; if it is a field, I must use REPLACE. > > I didn't find a way to detect wether 'nameofvariable' is a true > variable or a field ... > > Any idea ? > > J. MAURICE at Grenoble D.OT France.Europe UFPRC - Foxil > unable to forget {^2001.09.11} > > [excessive quoting removed by server]
©2003 Paul Newton |