Yes... I just learned something new again.. I called this knowledge transfer :-)
Code:
Private Sub is_customer_DblClick(Cancel As Integer)
Dim sSQL As String
Dim myString As String
myString = InputBox("Enter String")
sSQL = "UPDATE tbl_Import SET is_Customer = '" & myString & "';"
CurrentDb.Execute sSQL, dbFailOnError
Me.Refresh
DoCmd.Save
End Sub
Now I am asking myself how to only update a certain amount of field in a table...
1. let's say you are on the first record and just want to modify the first 20 records... and then
2. in record number 21 you want to update the values with another value or string...
--> 1 -20 with yes and then while being on record 21
-----> 21 to 100 with the value "no"...
Up the record where you click (initial position)... "question asking how many records do you want to modify: 20 for example" and so on..
Ideas?