Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table Update conflict
Message
De
14/10/1997 15:21:11
 
 
À
14/10/1997 15:16:11
Edward Crawford
City Facilities Management
Glasgow, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00054489
Message ID:
00054516
Vues:
40
>>>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform