Jump to content

Mysql Ve Calender


muratboy31
 Share

Recommended Posts

arkadaşlar burdaki sorun ne olabilir, birtürlü update yapmıyor !!!

yolcu = MySQL.RealEscapeString(Input.GetText("Input1"));
note = MySQL.RealEscapeString(Input.GetText("Input4"));
saat = MySQL.RealEscapeString(Input.GetText("Input10"));
sofor = MySQL.RealEscapeString(Input.GetText("Input5"));
nerden =  MySQL.RealEscapeString(Input.GetText("Input3"));
nereye =  MySQL.RealEscapeString(Input.GetText("Input9"));
yolcutel =  MySQL.RealEscapeString(Input.GetText("Input2"));
sofortel =  MySQL.RealEscapeString(Input.GetText("Input6"));
plaka =  MySQL.RealEscapeString(Input.GetText("Input7"));

selected = ListBox.GetSelected("ListBox1");
if selected ~= nil then
data = ListBox.GetItemData("ListBox1", selected[1]);

MySQL.Query("UPDATE takip SET yolcu='"..yolcu.."', yer1='"..nerden.."', yer2='"..nereye.."', telyol='"..yolcutel.."', not='"..note.."', saat='"..saat.."', sofor='"..sofor.."', telsof='"..sofortel.."', plaka='"..plaka.."' WHERE id='"..data.."'");

end

Edited by muratboy31
Link to comment
Share on other sites

not'u yapmaz çünkü NOT ifadesi SQL'de kullanılan bir terim ve bunu terim olarak yazdığını düşünüyor. daha öncede bu şekilde başımıza geldi ve baya uğraşmıştım, sağolsun blackman12 çözmüştü. tablo isimlerinde vb. yerlerde NOT IF AND gibi ifadeleri kullanmayın.

Link to comment
Share on other sites

  • 1 yıl yıl...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...