Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inline in grid editing
Message
De
06/01/2012 09:35:49
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01532229
Message ID:
01532305
Vues:
34
>>>Is there a way to dynamically assign textbox controlsource to be substr(myField,1,240)?
>>>
>>>I tried txt.ControlSource = '(substr(' + myField + ')1,240))'
>>>
>>>but got an error.
>>>
>>The only success I've had is when assigning expressions to Columns().ControlSource
>>
>>
>> This.Parent.GRid1.Columns(1).ControlSource = 'left(pp.pp, 20)'
>>
>
>Ok, never mind. Don't know why I was doing it so complicated. I simply changed txtLanguage to editbox (still keep the name) and now it all works fine.

> Don't know why I was doing it so complicated.

Well, I know why
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform