>ok I see the name and the width but when I run the testit program it tells me that class definition 'timetrans' is not found
So it had an error on the ox = CREATEOBJECT() line? If that is true, it would not have been able to display the name and the width.
Did you paste the class definition into testit.prg? That is everything between DEFINE CLASS and ENDDEFINE.
Or, alternatively, you could put SET PROCEDURE TO timesheet.prg ADDITIVE if you are putting the class definition in a separate file from testit.prg.
Steve Gibson