i m with u selvaganapathy, Select Max of Company_id , split it between character and number then increment number with 1.
Jx_Man
Nearly a Senior Poster
3,329 posts since Nov 2007
Reputation Points: 1,372
Solved Threads: 444
>> how is the coding to get last Company ID from sql database?
Use sql statement :
Select Max(field) from tablename
.
selvaganapathy was given the best answer to split company_id.
Jx_Man
Nearly a Senior Poster
3,329 posts since Nov 2007
Reputation Points: 1,372
Solved Threads: 444