Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding multiple blank records to grids
Message
De
30/09/1997 18:18:09
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Adding multiple blank records to grids
Divers
Thread ID:
00052544
Message ID:
00052544
Vues:
79
I have a grid whose RecordSourceType = 1 - Alias...
The records are sorted on a Character field in the table...
I use an "ADD" command button to add essentially blank records...
I use the following command in the click event to add a record and link it back to the parent table.
insert into XXX (parent) values (parent.id)

This works great...except when I click the button multiple times...
the first blank record appears at the bottom of all records and
the rest of the blank records appear at the top of all records.

Any ideas why or how to fix???

Thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform