Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox not Binding for Edit
Message
From
15/11/2000 15:33:55
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00442275
Message ID:
00442301
Views:
14
>I'm Stumped... I have a simple form with a combo box that has the control source set to a field. The type is set to 6 for fields. It displays properly, and in the interactivechange I put a thisform.refresh so that selecting from the dropdown refreshes the other form controls with the data from the record that was selected in the combobox.
>
>In interactivechange I have
>If !lcanedit
> thisfrom.refresh
>EndIf
>
>In the form I have the ALT-E key maped to toggle edit mode by setting lcanedit to .t. lcanedit = iif(lcanedit,.f.,.t.) When lcanedit is .t., the other two buttons "add" and "Delete" are made visible and enabled. This all seems to work OK but...
>
>I can't get the data I enter in the combo box to go back into the table. And, when I fool around trying to replace it under the valid or keypress event of the combobox, it gets stuffed in the last record.
>
>Any help would be greatly appreciated. Ron Seidl Novice VFP6

Ron,
Would you try :
this.value = this.value
as first line in InteractiveChange.
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
Next
Reply
Map
View

Click here to load this message in the networking platform