G
Guest
Ok....Maybe I have been trying to figure this out to long and the answer is
right in front of me; but I just can get my form to the store the information
into the table.
My textbox called txtbxTotWt calculates the total weight of cable. I can get
the information to show on the form by using the following equation in the
control source
"=[wpf01]+[wpf02]+[wpf03]+[wpf04]+[wpf05]+[wpf06]+[wpf07]+[wpf08]+[wpf09]+[wpf10]+[wpf11]+[wpf12]+[wpf13]+[wpf14]+[wpf15]+[wpf16]+[wpf17]+[wpf18]+[wpf19]+[wpf20]+[wpf21]+[wpf22]+[wpf23]+[wpf24]".
Once calculated I want to store the information into a table called
"tblCTfill" and in the field called "TotWt".
I added the following into "After Update" Event
Private Sub txtbxTOTWT_AfterUpdate()
On Error Resume Next
TotWt = [txtbxTOTWT]
End Sub
Can any one help steer me in the right direction on what I maybe doing wrong?
right in front of me; but I just can get my form to the store the information
into the table.
My textbox called txtbxTotWt calculates the total weight of cable. I can get
the information to show on the form by using the following equation in the
control source
"=[wpf01]+[wpf02]+[wpf03]+[wpf04]+[wpf05]+[wpf06]+[wpf07]+[wpf08]+[wpf09]+[wpf10]+[wpf11]+[wpf12]+[wpf13]+[wpf14]+[wpf15]+[wpf16]+[wpf17]+[wpf18]+[wpf19]+[wpf20]+[wpf21]+[wpf22]+[wpf23]+[wpf24]".
Once calculated I want to store the information into a table called
"tblCTfill" and in the field called "TotWt".
I added the following into "After Update" Event
Private Sub txtbxTOTWT_AfterUpdate()
On Error Resume Next
TotWt = [txtbxTOTWT]
End Sub
Can any one help steer me in the right direction on what I maybe doing wrong?