Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code only runs correctly in debug mode
Message
From
01/08/1998 14:40:55
John Thomason
King Richard Veterinary Centre
Leicester, United Kingdom
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Code only runs correctly in debug mode
Miscellaneous
Thread ID:
00123317
Message ID:
00123317
Views:
59
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
Next
Reply
Map
View

Click here to load this message in the networking platform