V
vsoeiro
hi all, need your help on this,
I need to add a sequential number to all records in a given table, starting
at a given number. I think i should do something like this:
dim intStartingValue as Integer
'start at 21, for instance
intValue = 20
For Each element In group
intValue = intValue + 1
<field to be updated> = intValue
Next
My problem is to indicate element as being the records, and group being the
table I want to update. Can someone please help on this, or suggest a better
aproach?
Thanks,
Vasco
I need to add a sequential number to all records in a given table, starting
at a given number. I think i should do something like this:
dim intStartingValue as Integer
'start at 21, for instance
intValue = 20
For Each element In group
intValue = intValue + 1
<field to be updated> = intValue
Next
My problem is to indicate element as being the records, and group being the
table I want to update. Can someone please help on this, or suggest a better
aproach?
Thanks,
Vasco