Hi I have one table which I upsized to SQL Server 2005 from access. Everything seems to work fine when I use "dbOpenDyna set, [dbSeeChanges]" when needed for tbl_Clients (the table on SQL Server) but this I can't seem to make work....
sql = "SELECT tbl_Users.sFirs tname as sFN, tbl_Users.sLast name, tbl_Artists.lng ClientNumber as sLN, tbl_Clients.sEm ail as sE, * "
sql = sql & "FROM tbl_Users RIGHT JOIN tbl_Clients ON tbl_Users.lngUs erID = tbl_Clients.lng UserID "
If chkUnsubscribe = 1 Then
sql = sql & "WHERE tbl_Clients.bUn subscribe= 0 "
End If
Set rsSource = db.OpenRecordse t((sql), dbOpenDynaset, dbSeeChanges)
Any ideas??
Thanks in advance
sql = "SELECT tbl_Users.sFirs tname as sFN, tbl_Users.sLast name, tbl_Artists.lng ClientNumber as sLN, tbl_Clients.sEm ail as sE, * "
sql = sql & "FROM tbl_Users RIGHT JOIN tbl_Clients ON tbl_Users.lngUs erID = tbl_Clients.lng UserID "
If chkUnsubscribe = 1 Then
sql = sql & "WHERE tbl_Clients.bUn subscribe= 0 "
End If
Set rsSource = db.OpenRecordse t((sql), dbOpenDynaset, dbSeeChanges)
Any ideas??
Thanks in advance
Comment