Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Duplicated data when using compound controls in grid
Message
From
18/04/2002 15:30:22
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00645483
Message ID:
00646557
Views:
12
>I have a picklist class which is basically a textbox and command button put together. I'd like to put this into a grid. (Yeah, I know, it's not the best UI idea, but it works for this purpose). The problem is that when I enter a value into one picklist, all the picklists in all the rows get the same value. It's not putting it into the cursor in all records, but all the picklists are _displaying_ the same value. I'm trying to debug it, but it's a bit tricky since only the currently selected picklist really "exists" and the rest are just painted.
>
>I know you don't have my picklist, so it may be hard to help, but I thought someone may have seen this phenomenon with other controls and have some idea what I'm doing wrong and how to fix it.
>
>This is in VFP 5.

I've seen this in a form which was developed in 5, but it also happened sometimes in 6 - don't exactly remember why, I know I fiddled a lot around it. It had a combobox in a grid, and it had the text1 removed. The controlsource was a foreign key into a lookup... it's been almost two years now, and I can't possibly remember what was the cause and what was the solution. I wrote this just to tell you that you are not alone :).

I know I fiddled with it for a while, lost some time on it, and eventually solved it. Check the controlsource of the combo, to see if it matches the controlsource of the column - and also try with no controlsource on the column, keep it in your controls only. Some of this may work - really don't remember.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform