can any 1 help i am trying to create a seq number in a datagrid view.
the code i have @ the moment is
for intIndex = 0 to objViasDS.tables("Vias").rows.count - 1
is isdbnull(objViasDS.tables("Vias").rows(intindex).item("Vias Seq") then
objViasDS.tables("Vias").rows(intindex).item("Vias Seq") = 1
Else
objViasDS.tables("Vias").rows(intindex).item("Vias Seq") = objViasDS.tables("Vias").rows(intindex).item("Vias Seq") + 1
Next
it is doing the number sequence but everytime i create a new seq number it does it in descending order
i.e
4321 when i want 1234
Hope you understand
Big Al
the code i have @ the moment is
for intIndex = 0 to objViasDS.tables("Vias").rows.count - 1
is isdbnull(objViasDS.tables("Vias").rows(intindex).item("Vias Seq") then
objViasDS.tables("Vias").rows(intindex).item("Vias Seq") = 1
Else
objViasDS.tables("Vias").rows(intindex).item("Vias Seq") = objViasDS.tables("Vias").rows(intindex).item("Vias Seq") + 1
Next
it is doing the number sequence but everytime i create a new seq number it does it in descending order
i.e
4321 when i want 1234
Hope you understand
Big Al