|
|
| |||
| Merhabalar, sql dosyasına tam yazma izni verdiğim halde scriptimdeki bazı sayfalarda şu hatayı alıyorum, nedeni ne olabilir? Gerekirse hata verdiği kısmın kodlarını verebilirim istediğiniz kısmı. Şimdiden teşekkür ederim, tecrübeli arkadaşlar yardım edebilirlerse çok sevinirim. Hata: Microsoft JET Database Engine error '8004e07' Data type mismatch in criteria expession. /default_login.asp, line 112 |
| |||
| veritabanında ilgili hücrenin veritipi ile senin yolladığın verinin uyuşmama sorunu var, tahminimce tırnak ( ' ) sorunu. default_login.asp sayfasında 100. satır ile 120. satır aralığındaki kodları buraya koyar mısın bi bakalım
__________________ Fatih Yücel ŞEN - Professional Web Developer (ASP) FatihYucelSEN [at] hotmail.com |
| |||
| Alıntı:
bu biri: Kod: <%
mtar2=FormatDateTime(mtar,2)
Set RSj=Server.CreateObject("ADODB.RecordSet")
RSj.open "SELECT * FROM tblRandevu where Fld_Tcno ='"&Fld_Tcno&"' and Fld_RTar = CDate('" & mtar2 & "') ",Conn,3,1
if RSj.RecordCount>1 then
%> Kod: <%
if Fld_PDtarih <> "" then
rspidt = RSL("Fld_Pid")
polgsabahstart = ""
polgsabahstop = ""
polgoglestart = ""
polgoglestop = ""
Set RSLr=Server.CreateObject("ADODB.RecordSet")
RSLr.open "SELECT * FROM tblGunPol where Fld_BPid ="&rspidt&" and Fld_BPGun = CDate('" & Fld_PDtarih & "') ",Conn,3,1
if RSLr.RecordCount>0 then
polgsabahstart = FormatDateTime(RSLr("Fld_BPSabahStart") ,4)
polgsabahstop = FormatDateTime(RSLr("Fld_BPSabahStop") ,4)
polgoglestart = FormatDateTime(RSLr("Fld_BPOgleStart") ,4)
polgoglestop = FormatDateTime(RSLr("Fld_BPOgleStop") ,4)
if polgsabahstart = "00:00" then
polgsabahstart = ""
end if
if polgsabahstop = "00:00" then
polgsabahstop = ""
end if
if polgoglestart = "00:00" then
polgoglestart = ""
end if
if polgoglestop = "00:00" then
polgoglestop = ""
end if
end if
RSLr.Close
rspidt = ""
else
polgsabahstart = ""
polgsabahstop = ""
polgoglestart = ""
polgoglestop = ""
end if
%> Konu ulus82 tarafından (08-02-2012 Saat 18:47:07 ) değiştirilmiştir.. |
![]() |
| Bookmarks |
| Seçenekler | |
| |