Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Want to set the value of this.controlsource = this.value
Message
De
06/10/1998 10:15:12
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00144183
Message ID:
00144201
Vues:
42
>>>doing a work around for validating from the cmdsave on the toolbar. because i call lastcontrol.valid myself, the controlsource is not updated with the value. want to update the controlsource with the value generically. do not want to change all my valid code, since it all references the controlsource now.
>>>
>>>do not want to actually update the controlsource, but the controlsource's value.
>>>
>>>controlsource = tablex.field1
>>>tablex.field1 = .t.
>>>
>>>want to set tablex.field1 = this.valuel
>>>
>>>any ideas?
>>>
>>>brenda
>
>>Brenda,
>>Tried lastcontrol.value = lastcontrol.value ?
>>Cetin
>
>just tried it an got a run time error. realize that i probably need to "replace controlsource with this.value" for a table.
>
> still looking.
>
>brenda
What was the error ? Toolbar not have a ref to object ?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform