Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent the addition of a blank record
Message
 
 
À
19/04/2004 16:24:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00896266
Message ID:
00896341
Vues:
24
Claude,

Does your form have a Save() method that gets called before you commit the changes? It would be easy to add code there to test for this.

If you have an Add New button you can check to see if there is already a blanked record avaiable to be used. If you are using table buffering newly added rows will have a negative recno() value which makes them pretty easy to find.

>I am trying to modify an existing form so that blank records are not added.
>
>What is the best way to do this?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform