Hi all,
I should probably have taken this to some ADO/VB forum that I do not know but, well, I only trust you guys
I access an MSSQLServer 2005 database from VBA (for prototyping, we're gonna hire a real programmer to do it really well).
I open a recordset and will add records to it.
I navigate with .movefirst and .movenext methods
Edit: I open the recordset with LockType = adLockBatchPessimistic and Cursortype = adOpenStatic (and, funnily enough, it still updates the .recordcount() propery when I add a record....
)
My question:
If I use the .AddNem method, where will that record be located? Will it depend on the PK of the table, the order sequence of the SQL I opened the recordset with or at the end?
I realise there is no such thing as an "End" in a RDBMS, but as I can navigate and have .BOF and .EOF properties, it at least acts is if "End" exists.
I hope I can be certain I will find added records at the "end" when I have .movenext-ed through all the records I originally got.
Is the question clear at all at least?
Hope you can help.
I should probably have taken this to some ADO/VB forum that I do not know but, well, I only trust you guys

I access an MSSQLServer 2005 database from VBA (for prototyping, we're gonna hire a real programmer to do it really well).
I open a recordset and will add records to it.
I navigate with .movefirst and .movenext methods
Edit: I open the recordset with LockType = adLockBatchPessimistic and Cursortype = adOpenStatic (and, funnily enough, it still updates the .recordcount() propery when I add a record....

My question:
If I use the .AddNem method, where will that record be located? Will it depend on the PK of the table, the order sequence of the SQL I opened the recordset with or at the end?
I realise there is no such thing as an "End" in a RDBMS, but as I can navigate and have .BOF and .EOF properties, it at least acts is if "End" exists.
I hope I can be certain I will find added records at the "end" when I have .movenext-ed through all the records I originally got.
Is the question clear at all at least?
Hope you can help.
Comment