Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
APPEND BLANK to cursor, CANDIDATE INDEX, index violation
Message
De
24/04/2008 14:41:20
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01312895
Message ID:
01312952
Vues:
17
>I think what is happening is that after appending the blank record, my REPLACE commands are actually modifying another record, not the blank one. Then, subsequent APPENDs find the blank record, thus the duplicate index.
>
>It has been my assumption that after I issue the APPEND BLANK IN csrProjSessions, the record pointer in csrProjSessions will be pointing to the blank record I have just added. Is that a bad assumption?
>
>Jim

As others have also suggested, skip the append command and use SQL Insert instead. Quicker and safer.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform