Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I pack a file/reindex within a form
Message
De
11/08/2006 05:18:20
 
 
À
07/08/2006 10:32:21
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01143376
Message ID:
01144762
Vues:
16
Hi Hilmar,

Back to my old thread..

Could you tell me how to use a MAX() in an SQL to select the Max number of a unique ID in a primary field, (which is programatically used to generate an incremental unique ID for a new record) by including records marked for deletion but not packed?

My problem is that the cursor ignores deleted records when doing a select, and when the ID is generated, the incremental value of the ID could already exist in the non packed table, which then generates a unique conflict error.

If I could have packed my table, I would have no such problems!

Thanks very much,

With best regards,

Steve.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform