>How would I achieve the same results WITHOUT using a .prg file? I want to create the class add properties and methods and refer to the class not a prg. When I tried putting the procedure statements in the methods of the class I got a bunch of errors.
Make sure you don't include the proc...endproc lines. To add the
Add method do the following:
Add the
Add method to the class and add the following in the method:
WITH this
.ddate = {}
.cclient = ""
.cservice = ""
.cdescription = ""
.nhours = 0.00
.nrate = 0
.namount = 0
.cemployee = ""
ENDWITH
hth
Roi
'MCP' Visual FoxPro
In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!