Information générale
Catégorie:
Contrôles ActiveX en VFP
>is it posible to Make Grid add only ie cannot edit exiting records ?
Make the grid ReadOnly, and have a command button to APPEND BLANK, set a flag that you're adding a record, and in the BeforeRowColChange, don't allow them to change rows if the Adding flag is on.
Have another button to save the changes and stop adding that also turns the adding flag off.
Or, simply have a ReadOnly grid, that uses another DataEntry form or page with textboxes and values to do that editing and adding. DE is much easier in controls than a grid.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement