Skip to main content

AccessTr.neT


Run-time Error '3061: Çok Az Parametre, 1 Bekleniyor Hatası.

volkan.gulbahar
volkan.gulbahar
2
637

Run-time Error '3061: Çok Az Parametre, 1 Bekleniyor Hatası.

#2
gerial butonun kodunu aşağıdaki gibi düzenleyip dener misiniz
Dim Kmt As String
Kriter = ""
For Each Secim In ListeAl.ItemsSelected
Kriter = Kriter & "," & ListeAl.Column(0, Secim)
Next Secim

If Len(Kriter) > 0 Then Kriter = " AND ((TSebil.ID) In ( " & Mid(Kriter, 2) & "))"
Kmt = "INSERT INTO TSebilGeriAl ( SeriNo, Marka, DIrsNo, DIrsTrh, StokYeri, Musteri, TEvrak ) " & _
"SELECT TSebil.SeriNo, TSebil.Marka, TSebil.DIrsNo, TSebil.DIrsTrh, 'Depoda' , '' , '' " & _
"FROM TSebil " & _
"WHERE (((TSebil.StokYeri)='Müşteride') AND ((TSebil.Musteri)='" & Me.[MusteriAdı] & "'))" & Kriter & " ;"

CurrentDb.Execute Kmt
Cevapla

Bir hesap oluşturun veya yorum yapmak için giriş yapın

Yorum yapmak için üye olmanız gerekiyor

ya da

Bu Konudaki Yorumlar
RE: Run-time Error '3061: Çok Az Parametre, 1 Bekleniyor Hatası. - Yazar: berduş - 18/03/2021, 22:56
Task