Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default unique ID values for a field in a remote table ?
Message
 
To
02/06/1998 15:32:55
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00103696
Message ID:
00104179
Views:
48
Hi Andrea,

>So far the idea could be this :
>
>1) lock the Id table
>2) read the value
>3) store on the view the value incremented by 1
>4) attempt a TableUpdate()
>5) if successful, write back the incremented value into the Id table
>6) close the Id table
>7) execute the code to handle the eventually failed TableUpdate, and when this is over, re-attempt the whole pass.
>
>What do you think about it ?

Looks good. Prefect. :)
Previous
Reply
Map
View

Click here to load this message in the networking platform