Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making sure one occurence of the record is created
Message
From
25/04/2003 17:57:33
 
 
To
25/04/2003 17:53:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00781704
Message ID:
00781734
Views:
20
hi Jay

but then i have to switch between set deleted on/off. that looked to me like too much hassle. plus a seek alone woun't work, because you might come back with the record just added, so you need to do a check aginst the record which was added. in the app i am working on currently records are beeing deleted by the users all the time. for this specific situation mostly out of stupidity from the user. because later they remember "duh, i needed that entry after all..."

>This is easily resolved by SEEKing on the index expression of the candidate key and doing an UPDATE/REPLACE rather than an INSERT.
>
>Jay
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform