Hello,
I am makeing a program for the Lotto.
I have a Access 2003 database with fields 0-9, would like to count the number of entries in each field and display in label caption.
Form has Labels 0-9.
cmdCount.
Can anyone help with this?VB Code:
rs.Open "Select COUNT (*) FROM Cash3", cn, adOpenKeyset, adLockPessimistic, adCmdText With rs lblZero.Caption = rs.Fields("Zero").Value End With rs.Close




Reply With Quote