madurrani
Programmer
- Sep 23, 2008
- 7
ID examples 1110I, 1100U, 1112A
In foxpro & visual foxpro I used the following command to get the new id for alpha numeric codes
SELECT MAX(VAL(id))+1 AS id FROM stock INTO newid
It would return 1113 in the above example ids, in foxpro/visual foxpro. How I can use this command in VB.NET/SQL
Thanks
In foxpro & visual foxpro I used the following command to get the new id for alpha numeric codes
SELECT MAX(VAL(id))+1 AS id FROM stock INTO newid
It would return 1113 in the above example ids, in foxpro/visual foxpro. How I can use this command in VB.NET/SQL
Thanks