Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.combo2.refresh not working.
Message
From
11/01/2000 05:46:37
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
11/01/2000 05:36:04
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00315382
Message ID:
00316037
Views:
29
>Hi Cemal.
>
>>first combos controlsource is : newline(1)
>>first combos rowsource is : fields
>>first combos controlsource : customer.name,id
>>
>>Second combos controlsource is : newline(2)
>>Second combos rowsource is : fields
>>Second combos controlsource : customer.id,name
>>
>>This code is in the first combos valid event ;
>>newline(2)=customer.id
>>Thisform.combo2.refresh
>>
>
>What on earth is NewLine? Is it a global array of some sort? Since the combos both use fields from the same table as their RowSources,why not set the BoundColumn of the first column to 2 and set the BoundColumn of the second combo to 1. Then, in the valid of either combo, all you have to do is set the value of the other equal to this.value.
>
>Of course, I have no idea what on earth the controlSources of these combos are meant to be doing ;-)
>
>Marcia


Hi Marcia,
As I discovered controlsources newline() were array. Cemal is not very comfortable with English so we got the conversation to Turkish (sorry for that).
I couldn't yet get a reply what has happened after I suggested to "kill" those controlsources and use list(listindex,col) instead.
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