Hi All
Windows XPPro
Access 2002/2007
Would someone help me with the syntax of a Dcount please? The following example data in my Artists_To_Tracks table....
ID = autonumber
Artists_Unique_No = long
Tracks_Unique_No = long
Record_Status = text
ID Artists_Unique_No Tracks_Unique_No
335 6 23
380 8 23
The Record_Status columns are all blank
The following Dcount does not return 2 when Me!unique_no = 23? (me!unique_no is from the Form's recordset)
Artists_Count = Nz(DCount("Artists_Unique_No", "Artists_To_Tracks", "[Tracks_Unique_No] = " & Me!Unique_No & " AND [Record_Status] <> 'Remove'"))
Tried all sorts... argggh!
thanks
Windows XPPro
Access 2002/2007
Would someone help me with the syntax of a Dcount please? The following example data in my Artists_To_Tracks table....
ID = autonumber
Artists_Unique_No = long
Tracks_Unique_No = long
Record_Status = text
ID Artists_Unique_No Tracks_Unique_No
335 6 23
380 8 23
The Record_Status columns are all blank
The following Dcount does not return 2 when Me!unique_no = 23? (me!unique_no is from the Form's recordset)
Artists_Count = Nz(DCount("Artists_Unique_No", "Artists_To_Tracks", "[Tracks_Unique_No] = " & Me!Unique_No & " AND [Record_Status] <> 'Remove'"))
Tried all sorts... argggh!
thanks