Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Making row readonly in a grid
Message
 
 
À
07/10/2004 03:56:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00949242
Message ID:
00949527
Vues:
17
Ok, try the simple thing first:

this.colNam.readonly = upper(alltrim(MyTable.Nam))="PRIVATE"

substitute myTable with the name of your table. And remove all textboxes values assignments. Why do you do it?

>hi ,
>
>i try but still,
>
>How long is your Nam field? 50 characters.
>Add spaces at the end of "PRIVATE" to be the same length as your NAM field.
>you mean "PRIVATE"+43characters.
>
>this.ReadOnly = ALLTRIM(EVAL(thisform.Grid1.RecordSource+".Nam")) == 'PRIVATE                                          '
>
>
>i try ,mr.Borislav Borissov code, still
>
>this.ReadOnly = ALLTRIM(EVAL(thisform.Grid1.RecordSource+".Nam")) == 'PRIVATE'
>
>
>thanks.
>
>
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform