Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Don't you hate it when...
Message
 
 
À
03/07/2001 16:02:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00525999
Message ID:
00526570
Vues:
15
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform