>>>>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only