Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Uniqueness error
Message
 
 
To
23/07/2007 12:07:45
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01242809
Message ID:
01242846
Views:
15
>I'm still receiving the same error on Form A not on B

Edgar,

It is not clear if you followed our advices. Did you delete the empty record and packed the table? Are you sure the new ID you provide is unique?

You may want to check, if the ID you're trying to create, already exists with indexseek function.

E.g.
lnNewID = some number
if indexseek(m.lnNewID,.f.,'MyTable','MyTag')
   ** We already have this ID, can not insert
endif
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform