Hi, I have this that works fine.
I need to delete other associated data like.
I cannot see where I need to include it with the wend that is currently there. Any pointers would be great.
Thanks in advance.
Richard
Code:
dim strSQLDeleteWatch
strSQLDeleteWatch = "Delete from tblWatches where WatchedProfileID = " & rsProfiles("ProfileID")
objConn.Execute strSQLDeleteWatch
rsProfiles.movenext
wend
strSQLDeleteWatch = "Delete from tblWatches where WatchingUserID = " & intOptionsAndInfoUserIdDelete
objConn.Execute strSQLDeleteWatch
rsProfiles.close
set rsProfiles = Nothing
I need to delete other associated data like.
Code:
'dim strSQLDeletelink
'strSQLDeletelink = "Delete from tblLinkTrackerLogs where link_id = " & rsProfiles("ProfileID")
'objConn.Execute strSQLDeletelink
Thanks in advance.
Richard
Comment