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!

Having 1 form field populate 2 columns in table

Status
Not open for further replies.

Hacktastic

Technical User
Feb 27, 2007
54
US
Hi ,

I have this form where if someone enters a one time payment, i want it to go into the [down payment] column and also the [total payment] column for that user.

Any advice?

Thanks
 
My advice is to not store the same value in two fifelds in the same table. You could have a field that identifies the payment type as "down payment" or other.

If you really want to do this, you could add code to the update of the Down Payment control to set the value of Total Payment.
Code:
    If Not IsNull(Me.txtDownPayment) Then
        Me.txtTotalPayment = Me.txtDownPayment
    End If
Again, I wouldn't do this.

Duane
Hook'D on Access
MS Access MVP
 
Thanks Dhookom,

its a special case where its absolutely needed, a one time gift is counted as a down payment(the actual payment) and should also tally into the "total payment" which is also the total pledge
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top