Good luck with that. I hope you realize that you failed to provide enough information for anyone to help you.
deceptikon
Challenge Accepted
3,425 posts since Jan 2012
Reputation Points: 822
Solved Threads: 473
Skill Endorsements: 56
If you are using SQL as a backend, you try the command:
Dim cmd As New Oledb.OledbCommand("INSERT INTO table2(YesCount) SELECT COUNT(*) FROM table1 WHERE table1.Status='Yes'",YourConnection)
Give this a try
Begginnerdev
Practically a Posting Shark
861 posts since Apr 2010
Reputation Points: 184
Solved Threads: 141
Skill Endorsements: 8
I want to get sum of total data where status is "yes"
What you should provide is
- the structure of all relevant tables
- perhaps a few records with an example of the before and after
This is particularly helpful if you are trying to explain the problem in a language that is likely not your native tongue.
Reverend Jim
Carpe per diem
3,584 posts since Aug 2010
Reputation Points: 561
Solved Threads: 445
Skill Endorsements: 32
How is this in any way related to the original question which asked about a Yes/No status field?
Reverend Jim
Carpe per diem
3,584 posts since Aug 2010
Reputation Points: 561
Solved Threads: 445
Skill Endorsements: 32