Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to add record in grid
Message
 
À
22/08/1999 03:40:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00256366
Message ID:
00256683
Vues:
23
I've done what Cetin has suggested to you in one of my apps. An additional note to this is when saving remove any blank records before tableupdate(). You can do this a couple of ways:

1. Issue a DELETE FOR .... to remove blank records and TABLEUPDATE(1) to update all changes at once
2. Do a GETNEXTMODIFIED() loop and TABLEUPDATE() or TABLEREVERT() each record accordingly.

>First of all, thanks a lot of your response !
>
>the controlsource of grid is table, and buffer mode=5, I would like
>to the grid can automatic add blank record while the user press entry
>in last grid column.
>
>
>>>How to add record when the cursor lost focus in last column?
>>
>>More information please...
>>
>>Is the record source of the grid a table, a view, or a cursor ??? Is the record source updatable, and is it still selected ???
>>
>>Regards,
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform