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
Code:
sql2 = "INSERT INTO tblmaterialSupplier (materialId, SupplierID) values (SELECT @identity FROM tblmaterials, '" & intSuppId & "')"
I can't get this sql to work - i need to get the last enetered materialId from my materials table...
Alex