FoxPro/Visual FoxPro - DEFINE CLASS Cliente AS Session OLEPUBLIC

 
Vista:

DEFINE CLASS Cliente AS Session OLEPUBLIC

Publicado por luis martin (20 intervenciones) el 09/12/2004 18:27:27
Me pueden explicar que es session y OLEPUBLIC en este codigo que copie?
DEFINE CLASS Cliente AS Session OLEPUBLIC

CodCliente = ""
RSocial = ""
Direccion = ""
Telefono = ""
LPedido = 0

PROCEDURE Init (cIDCliente as String)

OPEN DATABASE ;
_Samples + "\Tastrade\Data\Tastrade.dbc"
SELECT * from Customer WHERE ;
Customer_ID = cIDCliente INTO CURSOR curCliente
this.CodCliente = cIDCliente
this.RSocial = curCliente.Company_Name
this.Direccion = curCliente.Address
this.Telefono = curCliente.Phone
this.LPedido = curCliente.Max_Order_Amt

ENDPROC

PROCEDURE Destroy

ENDPROC

PROCEDURE Error(nError, cMethod, nLine)
ENDPROC

ENDDEFINE

Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:DEFINE CLASS Cliente AS Session OLEPUBLIC

Publicado por Plinio (7841 intervenciones) el 09/12/2004 18:51:19
Lo mejor es que lea en la ayuda DEFINE CLASS.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar