monoDeveloper
Programmer
- Apr 16, 2013
- 16
Hello everybody
This delete statement dosen't work on Form , but works from Saved Query:
Supplier_OrderSN is Text
Supp_Order_Date is Date
remain columns are Numbers
Can anybody help ?
This delete statement dosen't work on Form , but works from Saved Query:
Supplier_OrderSN is Text
Supp_Order_Date is Date
remain columns are Numbers
Code:
DoCmd.RunSQL ("Delete * from SupplyOrder " & _
" Where ( " & _
" Supp_Order_SN =" & [txtReceiveNumber].Value & " and " & _
" From_Supplier_ID=" & [cboSupplier].Value & " and " & _
" Supp_Order_Date= # " & [txtReceiveDate].Value & " # and " & _
" Receive_U_ID=" & [txtEmpNumber].Value & " and " & _
" Supplier_OrderSN=' " & [txtSupplierNumber].Value & " ')")
Can anybody help ?