E
edisonl via AccessMonster.com
Help, help..
I had a form that open up like this:
rd.Open table, conn, adOpenDynamic, adLockBatchOptimistic
rd.filter = "Name='" & name_text & "'"
Do Until rd.EOF
if(rd!Name = Name_Text)then
rd.delete
rd.Delete adAffectCurrent
rd.close
conn.close
set rd = nothing
set conn = nothing
Exit Sub
endif
rd.movenext
loop
rd.close
conn.close
set rd = nothing
set conn = nothing
Cant Delete the Record it seems... Can Anyone Helps ?
Edison
I had a form that open up like this:
rd.Open table, conn, adOpenDynamic, adLockBatchOptimistic
rd.filter = "Name='" & name_text & "'"
Do Until rd.EOF
if(rd!Name = Name_Text)then
rd.delete
rd.Delete adAffectCurrent
rd.close
conn.close
set rd = nothing
set conn = nothing
Exit Sub
endif
rd.movenext
loop
rd.close
conn.close
set rd = nothing
set conn = nothing
Cant Delete the Record it seems... Can Anyone Helps ?
Edison