Hello Stacy and Sunaj,
Please find below the "current" piece of code for this button. I have tried many variations with the same result, either the first or the last record will be entered, but it will alway miss the other two.
Sunaj, your code example looks eerily familiar to something that I tried earlier, which yielded one record being added, but not all three.
I think this code is seriously cluttered but as I said before, I am not real good with this stuff. The table structure has already been revamper per MichaelRed's suggestions. He made a good point so I did just that. Now, of course, it just making the correct tweeks to the code for the new structure.
Think I could just make another table with these three records and then do an append replacing the assetnum and softid?
Stacy, the IDNum's are based on an autonumber from another table which is the linking info to this table. The Assetnum is a secondary link and plays an integral part in the tracking of the software (SoftID) which is the Asset number concatenated with the ID number.
I use the ID number instead of the name of the product for ease of tracking.
Private Sub NewInstBtn_Click()
Dim MyCol As New Collection, MyDb As Database
Dim MyRst As Recordset, SQLStr As String, I As Integer
Dim UpDateStr As String, UpdateRst As Recordset
SQLStr = "SELECT [License User].AssetNum," & _
" [License User].IDNum, [License User].SoftUserID," & _
rnpIII
"[License User].DateIssued, LicensesQry.IDNum," & _
"LicensesQry.ProdName, LicensesQry.Available," & _
"LicensesQry.[Cost of one license]" & _
"FROM [License User] LEFT JOIN LicensesQry" & _
"ON [License User].IDNum = LicensesQry.IDNum"
UpDateStr = "Select [License User].AssetNum," & _
"[License User].IDNum," & _
"[License User].SoftUserID, " & _
"[License User].DateIssued" & _
" FROM [License User]"
On Error GoTo Err_NewInstBtn_Click
Set MyDb = CurrentDb
Set MyRst = MyDb.OpenRecordset(SQLStr)
MyCol.Add 44, "NT4"
MyCol.Add [Recdel] & MyCol("NT4"

, "NT4ID"
MyCol.Add 29, "Off2K"
MyCol.Add [Recdel] & MyCol("Off2K"

, "Off2KID"
MyCol.Add 43, "Inoculan"
MyCol.Add [Recdel] & MyCol("Inoculan"

, "InocID"
MyCol.Add nn, "x" 'reserved for new additions later
MyCol.Add [Recdel] & MyCol("x"

, "xID"
If Recdel = "" Then
MsgBox "You cannot perform a new install" & vbCr & _
"after having completed one!" & vbCr & _
"According to my transactions information," & vbCr & _
"you have just clicked this button.", , "Error"
Else
UpdateRst.AddNew
UpdateRst!AssetNum = Recdel
UpdateRst!DateIssued = Now()
UpdateRst!IDNum = MyCol("NT4"

UpdateRst!SoftUserID = MyCol("nt4id"

UpdateRst.Update
Next
End If
Exit_NewInstBtn_Click:
Exit Sub
Err_NewInstBtn_Click:
MsgBox Err.Description
Resume Exit_NewInstBtn_Click
End Sub