Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
1 つの列のすべての数値の合計を計算しようとしています。
列名は「Units」で、整数型です。
これはうまくいくはずですか?
cmd3 = New OleDbCommand("SELECT SUM(Units) FROM tblJobs WHERE BookedOut = NULL AND HoldDate = NULL ", con) lblLiveUnits.Text = cmd3.ExecuteNonQuery()
ありがとうございました