I suposed. I tried the way yo tell me, and it works properly. I think it's the best way I can do that.
Thanks, Peter. Manel Hurtado "Peter Cooper" <[EMAIL PROTECTED]> escribi� en el mensaje news:[EMAIL PROTECTED] > Manel > > you have to do both :{ > > Property pTest As %String [ Calculated, SqlComputeCode = { > set {*}="some stuff" > }, SqlComputed ]; > > Method pTestGet() As %String > { > quit "some stuff" > } > > > you could make a class method that can be called by both parts - but > be aware that it is a class method you cannot refer to any > ..properties > > Peter > > > On Fri, 21 May 2004 19:34:05 +0200, "Manel Hurtado" > <[EMAIL PROTECTED]> wrote: > > >I need to define a calculated property for a Persistent class, and I need > >this property to be accesible either by a COS routine and via ODBC call. > >I tried different ways, but I only acomplished one of both at the same time. > > > >Could anyone help me? > > >
