What I do in a case like this is simply giving the uniqueidentifier field a Default Value of (newid()) when designing the table.
That way I can use VB ADO recordsets (.AddNew and .Update) to add new records, and let SQL Server take care of adding the GUID.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.