Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to design it in Class?
Message
De
25/05/2001 11:49:46
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
À
25/05/2001 11:41:25
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00511522
Message ID:
00511583
Vues:
13
Ok john sorry if you are using table buffring on your tables the the code should look a little different.

LOCAL llret, locustomer, loaccount
locustomer = CREATEOBJECT(«your customer object»)
loaccount = CREATEOBJECT(«your account object»)

llret = locustomer.Add(custID, custname)
llret = llret AND loaccount.Add(custid)



and in the method add if anything fails then you should do a tablerevert before returning .f.
Alexandre Palma
Senior Application Architect
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform