X
xool
Hi all, can anyone tell me how to delete just the current record
if tempdate >= todaydate then
Set newMail=Server.CreateObject("CDONTS.newMail")
newMail.to = rs.fields("Email")
newMail.From = "(e-mail address removed)"
newMail.Subject = "Wavestation Present Planner"
newMail.Body = "Dear " & rs.fields("qName") & vbcrlf & vbcrlf & "This is
your present planner reminder." & vbcrlf & vbcrlf & "It's " &
rs.fields("Period") & " before " & rs.fields("qpName") & "'s birthday
which falls on " & rs.fields("qDate") & "." & vbcrlf & vbcrlf & "Your
message: " & rs.fields("Message") & vbcrlf & vbcrlf & "Regards" & vbcrlf
& vbcrlf & "The Wavestation Team."
newMail.Send
conn.Execute "DELETE FROM Bmemo" <-------------------- ?????????
end if
rs.movenext
many thanks
if tempdate >= todaydate then
Set newMail=Server.CreateObject("CDONTS.newMail")
newMail.to = rs.fields("Email")
newMail.From = "(e-mail address removed)"
newMail.Subject = "Wavestation Present Planner"
newMail.Body = "Dear " & rs.fields("qName") & vbcrlf & vbcrlf & "This is
your present planner reminder." & vbcrlf & vbcrlf & "It's " &
rs.fields("Period") & " before " & rs.fields("qpName") & "'s birthday
which falls on " & rs.fields("qDate") & "." & vbcrlf & vbcrlf & "Your
message: " & rs.fields("Message") & vbcrlf & vbcrlf & "Regards" & vbcrlf
& vbcrlf & "The Wavestation Team."
newMail.Send
conn.Execute "DELETE FROM Bmemo" <-------------------- ?????????
end if
rs.movenext
many thanks