Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using a Grid to view and Edit data
Message
De
12/05/2005 17:19:11
 
 
À
12/05/2005 17:11:18
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01013583
Message ID:
01013625
Vues:
17
>The Grid ReadOnly property is set to .F.
OK, Try this in Init Event of the form:
SQLEXEC(.....) && with additional field
thisform.Grid1.RecordSourceType      = 1
thisform.Grid1.RecordSource          = "YourSPTCursor"
thisform.Grid1.ReadOnly              = .f.
thisform.Grid1.Column1.ControlSource = "YourSPTCursor.Field1"
thisform.Grid1.Column1.ReadOnly      = .f.
thisform.Grid1.Column2.ControlSource = "YourSPTCursor.Field2"
thisform.Grid1.Column2.ReadOnly      = .f.
thisform.Grid1.Column3.ControlSource = "YourSPTCursor.Field3"
thisform.Grid1.Column3.ReadOnly      = .f.
thisform.Grid1.Column4.ControlSource = "YourSPTCursor.Field4"
thisform.Grid1.Column4.ReadOnly      = .f.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform