free2000000
New member
- Local time
- Today, 12:32
- Joined
- Aug 31, 2011
- Messages
- 2
hello evry body
how are you? I hope you ara fine and have a great time.
I have this code in Button in a form based in runtime table access 2003
----------------------------------------------------------
Dim khaher As Object
Set khaher = CurrentDb.OpenRecordset("Employment")
With khaher
If MsgBox("do you wont to save?" & vbCrLf & "", vbYesNo, "Update") = vbYes Then
khaher.AddNew
khaher!vessel = Me.Combo44.Value
khaher!Syndicate = Me.Combo57.Value
khaher!seaman = Me.filed.Value
.Update
.Close
----------------------------------------------------------------------------------
its work ok , but it just add the data from the first record . I want to re run the code to add all records from the run time table
thank you
how are you? I hope you ara fine and have a great time.
I have this code in Button in a form based in runtime table access 2003
----------------------------------------------------------
Dim khaher As Object
Set khaher = CurrentDb.OpenRecordset("Employment")
With khaher
If MsgBox("do you wont to save?" & vbCrLf & "", vbYesNo, "Update") = vbYes Then
khaher.AddNew
khaher!vessel = Me.Combo44.Value
khaher!Syndicate = Me.Combo57.Value
khaher!seaman = Me.filed.Value
.Update
.Close
----------------------------------------------------------------------------------
its work ok , but it just add the data from the first record . I want to re run the code to add all records from the run time table
thank you