Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trouble with views while manipulate data
Message
From
11/02/1999 10:52:00
Noman Aftab
Embry-Riddle Aeronautical University
Daytona Beach, Florida, United States
 
 
To
11/02/1999 10:35:24
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00186169
Message ID:
00186531
Views:
13
Well first of all I am getting a Unique Index Violation. I have a primary index in their which is not allowing similiar entries but I thought UPDATE or DELETE and INSERT work around it. I mean to say is that either old records are removed and replaced or deleted and added, respectively.

Lets say, I have workcard number 110A3401 which has 1-2-many relations with a zone numbers: 100, 200, 300. Now that if I want to edit these zones and put in new ones which are available in desciption table then I juts click on them and add them to the other side of the list which has selected items. When I close this selection form these selected items are added to the view. When I press the 'SAVE' button TABLEUPDATE is issued and uniquness error is triggered. I want this because if I dont want any changes then I can just do TABLEREVERT and get rid of any changes and exit out to viewing mode where REQUERY will populate the view with old records.

Thanks for your reponses.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform