We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Sub Main() Dim finalvalue As String Dim database As New ADODB.Connection Dim records As New ADODB.Recordset Dim sql As String Dim phones As String database.ConnectionString="Provider=sqloledb; Data Source=192.168.2.121\EMMSDE;Initial Catalog=outlookreport; User Id=jsmith; Password=s5993153492;" database.Open sql = "SELECT * FROM OUTLOOKREPORT.DBO.MFUSERS WHERE USERNAME IN('" & AccountVariable("scriptrecip") & "'" records.Open , sql, database, adLockReadOnly For Each fld In records.Fields finalvalue = finalvalue & records.Fields(0) Next fld End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.