Can i do this sql statement?
I can't get this sql to work - i need to get the last enetered materialId from my materials table...
Alex
VB.NET:
sql2 = "INSERT INTO tblmaterialSupplier (materialId, SupplierID) values (SELECT @@identity FROM tblmaterials, '" & intSuppId & "')"
Alex