Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make Grid add only
Message
 
À
26/10/2000 12:29:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00434483
Message ID:
00434699
Vues:
15
Mike
You could also keep the Grid ReadOnly full time, and use it like a list box (maybe?) to scroll the table(s) and only add or edit rows through txtboxes?
I've heard some PMs say never enter directly to a grid, while others say no problem. Go Figure:)


>>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.
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform