Rajesh Karunakaran
Programmer
Dear Team,
I have an invoice line items table in which I want to update a column ('LineSeq') for an invoice (ie there could be multiple records in this table for a single invoice) with serials numbers from 1, ie 1,2,3,4... and so on till the last record for that invoice. Usually, we can do this using a loop.
However, is there a way to accomplish this using an SQL statement?
I think, there is a way in MSSQL. But, what about visual foxpro?
Thanks in advance
Rajesh
I have an invoice line items table in which I want to update a column ('LineSeq') for an invoice (ie there could be multiple records in this table for a single invoice) with serials numbers from 1, ie 1,2,3,4... and so on till the last record for that invoice. Usually, we can do this using a loop.
However, is there a way to accomplish this using an SQL statement?
I think, there is a way in MSSQL. But, what about visual foxpro?
Thanks in advance
Rajesh