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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changing properties after calucations

Status
Not open for further replies.

smanuel

IS-IT--Management
May 15, 2000
15
CA
First off I will explain the design of my form. I have a sub form to show the records for a each client. In each record is a cost field which is inputed by the user. In the form footer of the sub-form is a text box set to invisible. This box calculates the total for that customer using the formula "=Sum([Amount Paid])".

On the main form, there is another textbox with references the calculated field on the subform so that I can show the total on the main form (control source=[tblInvoice Subform].Form![total]).

What I want to do is change the properties of the box on the main form when the value is more than 300. I don't know which event to place the code in and I need to check the value when each record of the main form is displayed and when the calculated field is updated. (i.e if the user inputs another invoice and the total goes over 300 the properties change)

Any idea?

Thanks for any help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top