Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

which event is dealing with an acDialog form?

Status
Not open for further replies.
Mar 27, 2002
168
NL
I'll try to have influence on an acDialog form
the normal activate or gotfocus doesn't help me.
what i want:
I have a form where I give a number in a field,
this number calculates something in the acDialogform.
I want to refresh this when it's open after changing the number
somebody knows how?
thanx in advance,

Gerard
 
How many forms do you have Gerard ? One or Two ?

Your original post is not clear.

What are the names of your forms.
What is the name of the control on the form that you add data to.
What form is that on.
What is the name of the control that you need to update.
What form is it on.
Which form is the pop-up form ( Which is what I think you're trying to say by "acDialogForm ).



G LS
 
sorry for not been clear enough
2 forms:
1: frmProject
2: frmSumHours (pop-up)

In 1) I update a field called Marge (in %)
In 2) I want the calculated field refreshing after the field Marge is updated (without closing form 2)

I hope it's better this time
waiting for ur reaction,
gerard

 
If Marge is a control on frmProject then you cannot update it while frmSumHours is active because frmSumHours will not allow fromProject or any other object to take the focus.


HOWEVER, if you have a field on the frmSumHours that will take the data ( or an event on the frmSumHours that can calculate the data ) then you just need

Forms!frmProject!Marge = NewValueForMarge



'ope-that-'elps.

G LS
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top