Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to design it in Class?
Message
From
25/05/2001 11:49:46
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
To
25/05/2001 11:41:25
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00511522
Message ID:
00511583
Views:
12
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform