Hi,
I've just converted from MS ACCESS and understand that u can't use rs.REcordcount to get the number of values in a field. I've got the code below which gives me the value 1 for all cases when they range from 1 to 10, in many instances.
sql2 = "SELECT ID,SongView,Song,Count(ID) AS num FROM SongTable"
sql2=sql2 & " WHERE myID = "&myID
sql2=sql2 & " AND LiveSong=1"
sql2=sql2 & " Group by SongView,Song"
numberofsongs=rs("num"
Any ideas please,
Many Thanks
Gavin
the boho from soho
I've just converted from MS ACCESS and understand that u can't use rs.REcordcount to get the number of values in a field. I've got the code below which gives me the value 1 for all cases when they range from 1 to 10, in many instances.
sql2 = "SELECT ID,SongView,Song,Count(ID) AS num FROM SongTable"
sql2=sql2 & " WHERE myID = "&myID
sql2=sql2 & " AND LiveSong=1"
sql2=sql2 & " Group by SongView,Song"
numberofsongs=rs("num"
Any ideas please,
Many Thanks
Gavin
the boho from soho