İki tarih arası arama yapmak istiyorum kodlarım;
yil1 = trim(request.form("yil1"))
yil2 = trim(request.form("yil2"))
ay1 = trim(request.form("ay1"))
ay2 = trim(request.form("ay2"))
gun1 = trim(request.form("gun1"))
gun2 = trim(request.form("gun2"))
if yil1="" or yil2="" or ay1="" or ay2="" or gun1="" or gun2="" then
else
tarih1=gun1&"."&ay1&"."&yil1
tarih2=gun2&"."&ay2&"."&yil2
sql kodu;
"SELECT * FROM DATA where rtarih BETWEEN "&cdate(tarih1)&" and "&cdate(tarih2)
aldığım hata;
Script error detected at line 571.
Source line: ilan.Open ilantemp, bag, 1, 1
Description: 'rtarih BETWEEN 01.01.2007 and 01.02.2007' sorgu ifadesi içindeki Sayıda sözdizimi hatası
ilginiz için teşekkürler.