Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updatting multiple tables
Message
From
04/11/1996 15:07:02
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00011301
Message ID:
00011454
Views:
32
>when they save the invoice, add code to update the invoice counter
>
>something like
>
>if this.addrecord
> savebutton::click
> select uniqueid
> replace uniqueid.idnumber with uniqueid.idnumber + 1
>endif

IMHO this is better dealt with in the stored procedures (ie the default value) this way the primery key will not be violated...

Arnon
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform