I am trying to develop a project for house hold accounting.I have designed a form for transactions.Now my problem is to add the record from the form to the table when the Submit buttton is clicked.My table is "Tran" with fields-"Tdt","Achead", "Acsub","Acno","Acname"."Detail","Debit"," Credit","Dc","Balance","Tno".Record to be added to Tran where Achead,Acsub and Acno are equal to TxtAchead.Text,TxtAcsub.text, and TxtAcno.text respectively.The Balance is to be calculated by the difference of the Totals of Debit and Credit Fields and if the balance is negative field "Dc" = "DR" else "Dc" ="CR" Please help me
mavtcr 46 Junior Poster
Recommended Answers
Jump to Post— Dani 5,664Can you provide what code you have so far?
All 4 Replies
Dani 5,664 The Queen of DaniWeb Administrator Featured Poster
mavtcr 46 Junior Poster
john_111 104 Junior Poster in Training
rproffitt commented: "When I wrote this, God and I knew how it worked. Now, only God knows." +16
mavtcr 46 Junior Poster
rproffitt commented: Thank God. +16
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.