Did you get a chance to look (i.e. Search) here on this site?

ODBCSQL() - Create an SQL ODBC Connection

And, looking at - http://www.databasejournal.com/features/mssql/article.php/2238221

We should be able to add right below:
Code:

$DriverName='SQL Server'
$Trusted_Connection='Yes'



And..
Code:

$RC=WRITEVALUE($RegEdPath,'Server',$Server,'REG_SZ')
$RC=WRITEVALUE($RegEdPath,'Trusted_Connection',$Trusted_Connection,'REG_SZ')



HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's