Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Don't you hate it when...
Message
 
 
To
03/07/2001 16:02:11
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00525999
Message ID:
00526570
Views:
14
I had the similar problem quite recently. This solved it: Forum: Visual FoxPro Category: Troubleshooting Title: Re: Error 1547 Thread #521182 Message #521192

>If you are using the "Default value" to generate your unique ID in your DBC, I can tell you that when I did APPEND BLANK it gave me the "uniqueness Index" error. I had to use INSERT INTO ... and it works like a charm.
>
>Why? - who knows...
>Does it append a blank record and then tries to replace the primary key field with the next ID code and thinks that someone is using the record? - again, who know...
>
>
>>Nope, I'm using a straight ole "append blank" here because the code in this section is very generic. I could write a case statement for all of the screens and use that to create an "insert" statement with fields and values but it seemed easier (?) to append blank and then replace.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform