>>>Hi.
>>>
>>>I am using the controls of the form source property as the field names of the uderlying table.
>>>When the user clicks add or edit I want it to be changed as memory variables created using
>>>SCATTER, but I have to do it for every control for which the add/edit is appropriate.(Some
>>>controls are not part of the add/edit). Is there any better way of doing it other than go thru
>>>the controls one by one in the click event of the add/edit command button.
>>>
>>>Thanks in advance
>>>
>>>alex
>>Alex,
>>
>>Yes, turn on buffering and leave the controlsources alone. With buffering on you can use TableUpdate and TableRevert to save or reject the changes the user makes.
>
>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?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement