Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table Update conflict
Message
From
14/10/1997 15:21:11
 
 
To
14/10/1997 15:16:11
Edward Crawford
City Facilities Management
Glasgow, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00054489
Message ID:
00054516
Views:
35
>>>>>In my cleanup method I call CLOSE ALL. When I do that I get an Update Conflict error. How do I find out which table is causeing this problem so I can fix it?
>>>>
>>>>Are you using a view? If yes, make sure you don't have any primary key conflict.
>>>
>>>Yes, I'm using a couple of views. How do I check for a Primary key conflict?
>>
>>I would suggest to open the table manually and do a SQL group by to see if you have a key which has more than one occurence.
>
>Mike,
>
>I've tried that and everything seems OK. The error doesn't happen everytime I quit the program, so it is hard to catch.
>
>Ed

Instead CLOSE ALL, you could close table/views one by one with appropriate error trapping for each USE command. At least here you will catch the alias.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform