Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form - changing the controls source property
Message
From
19/10/1997 12:43:30
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00054836
Message ID:
00055388
Views:
32
>>>>>Hi guys,
>>>>> sorry to interupt, but right now I'm having similiar problem. I've create a container class that I need to show on two different pages of pgframe and populate them from different tables. So in Init event of container I coded code for changing controlsource for controls. There is one combo and four edtboxes in that container. But it seems that it ignores what I wrote, bc on first page combo is populated ok, but edtboxes not, and on second nor combo, nor edtboxes.
>>>>>TIA
>>>>> Dezider
>>>>
>>>>Do you refresh your combos using the Requery method?
>>>
>>>Nope. Going to try.
>>>thanx
>>> Dezider
>>
>>Always use Requery for combos and lists when you refresh them, change the control source, source type, etc.
>>
>>Vlad
>
>Too bad. It dodn't help. I just don't understand what mistakes an I going!
>Should I move this code to the Load event of Container?
>But one thing is mystery for me.
>When I debugged it I put in my debuf window this:
>_screen.activeform.activecontrol.controlsource
>and the resule what
>"table1.field"
>and then
>_screen.activeform.activecontrol.controlsource
>gave result
>"table.field"
>It didn't evaluate dthe value from the table but took controlssourceas a string.... Did you see it?
>Dezider

Sorry, I'm not sure I understand what the problem is.

Vlad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform