تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
تعديل مثال العملاء الغير مسددين القسط
#3
شكرا استاذ  حريف برمجة

الكود شغال تمام لكن عند وضع شرط لم يعمل يظهر خطاء

دة الكود بعد التعديل  عفوا خبرتى قليلة

كود :
  tb_table2.Clear()
       Dim cmd As New OleDbCommand("select tbl_customers.cust_code, tbl_customers.cust_name from tbl_customers where  tbl_customers.cust_code not in ( select cust_code from tbl_paymint)where tbl_paymint.mmonth= @mmonth", con)
       cmd.Parameters.Add("@mmonth", OleDbType.VarChar).Value = txt_month.Text
       con.Open()
      tb_table2.Load(cmd.ExecuteReader)
          dvg1.DataSource = tb_table2
          con.Close()

Syntax error (missing operator) in query expression 'tbl_customers.cust_code not in ( select cust_code from tbl_paymint)where tbl_paymint.mmonth= @mmonth'.

دة الخطاء
الرد }}}
تم الشكر بواسطة:


الردود في هذا الموضوع
RE: تعديل مثال العملاء الغير مسددين القسط - بواسطة new_programer - 27-12-18, 03:22 AM


التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم