James,
In the Class we put all the items we think we need :
data bird as date
data tva as char
data counter as num
in the method new we set the defaults ?
:: name:=""
:: bird:=ctod("26/11/1985")
:: tva:= "blabla"
:: counter:= 1
but also from from datasource ?
:: bird:= customer->bird
:: counter:= customer->number
or only later with
user():name:= "JBott"
or
user():name:= alltrim(customer->name)
Functions User() will create the object as static to see all over the program
↧