Hi Randy,
>It doesn't only happen in Init. I just used Init as an example. It is happening in ALL of my methods (mostly custom). Here is how I call the method:
>
>set classlib to "rdsapp.vcx"
>myApp = createobject("_WriteLog")
>.
>.
>myApp._WriteLog()
>
>
>----------------------------
>Method Code for _WriteLog()
>----------------------------
>lparameters cUser
>
>if pcount() = 1
> ** If I create an error here it does not call the error method of
> ** of this object.
>endif
>
If you call WriteLog without parameters, as you showed in your example, this code would never execute.
>
>---------
>Thanks
>Randy
If it's not broken, fix it until it is.
My Blog