Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - use VIEWS and never TABLES
Message
 
À
14/04/1997 12:18:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00026990
Message ID:
00028317
Vues:
56
>another question...if you di dnot mind..
>
>I want to add a record to a GRID, but I do not want to save a empty
>record in a grid. How do I check for empty records in a grid.
>
>In a table.. I would check for ...
>if empty(thisform.txtname)..etc..
>
>also, If I want to add a new record in a grid and I
>append blank, how do I set the focus on my new record?
>
>help

Buffer the View or Table that is your grid's record source.

Then use an INSERT INTO command.

To commit the new record, issue TABLEUPDATE

To revert, issue TABLEREVERT.

Hope this helps.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform