Hello post readers,
My problem is with a VB app that i am working on. The form has a Listview that brings up errors saying that there is no unique identifier, which is a result from the index key for the listview not being set. My boss has told me that he wants the recordset to have an incrementing value that can be used for the index.
My problem is that i have not got a clue.
I know there is prob a better and easier way to do this ie adjusting the stored proceudure but i got to do what the boss man says.
So how do i go about doing this. Code examples would be great.
example of how my app is laid out and where i need the code.
'***Recordset
rs = Recordset
(I need auto incrementing code here)
Listview, Recordset......
please not that the main thing that i am having trouble getting my head around is how do i go about adding my value to the end of the recordset.
ie. 1st record+1
2nd record+2
3rd record+3
And so on.....
I know i have rambled here and prob have confused you guys but i would greatly appreciate any help.
Thanks in advanced.