Dcount Check boxes

elfranzen

Registered User.
Local time
Today, 15:52
Joined
Jul 26, 2007
Messages
93
Code:
Text56.Value = DCount("[startplaying]", "tournamentlogtable", "[startplaying] = true" And "[endplaying]= false")

Ok Startplaying and Endplaying are check boxes I want to return a number of active people playing in the tournement what am I doing wrong here?
 
Remove the quotes around And!
Code:
Text56.Value = DCount("[startplaying]", "tournamentlogtable", [b]"[startplaying] = true  And [endplaying]= false"[/b])
 
Thanks I had another error also but got them both fixed thanks for the help
 

Users who are viewing this thread

Back
Top Bottom