I am trying to run this update query and keep getting the "Enter parameter value" input box when i try and add text data. The updating works fine with numeric data type but not with text type data. The database field is set to text type but still no luck. If I go to the query
design window I can build and run a query based on the same parameters and update the field without any problems (no input box popping up) regardless of data type. I am wondering how I can get around it. Any ideas? here's the procedure:
Private Sub Command67_DblClick(Cancel As Integer)
DoCmd.RunSQL "UPDATE tbl_Validation_data SET [AbbotBoxNumber]=(" & Me.txt_AbbotBoxNumber & ") WHERE RGCBoxNumber=(" & Me.txt_RGC_BoxNumber_unbound & ")"
End Sub
thanks
design window I can build and run a query based on the same parameters and update the field without any problems (no input box popping up) regardless of data type. I am wondering how I can get around it. Any ideas? here's the procedure:
Private Sub Command67_DblClick(Cancel As Integer)
DoCmd.RunSQL "UPDATE tbl_Validation_data SET [AbbotBoxNumber]=(" & Me.txt_AbbotBoxNumber & ") WHERE RGCBoxNumber=(" & Me.txt_RGC_BoxNumber_unbound & ")"
End Sub
thanks