Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Want to set the value of this.controlsource = this.value
Message
From
06/10/1998 10:15:12
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00144183
Message ID:
00144201
Views:
39
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform