Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code only runs correctly in debug mode
Message
De
01/08/1998 14:40:55
John Thomason
King Richard Veterinary Centre
Leicester, Royaume Uni
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Code only runs correctly in debug mode
Divers
Thread ID:
00123317
Message ID:
00123317
Vues:
58
Can anyone tell me why code sometimes only runs correctly when in debug mode. In this particular instance I am using a method to scan through a table and add new records on the basis of certain criteria in the existing records. The primary key field is set to be automatically generated by newid(). If I run the code in debug the field is generated successfully, if I run the application normally I get the error "Uniqueness of index is violated" because the primary key is not being generated.

Any help would be greatly appreciated.

J.Thomason
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform