Samo
03-21-2016, 02:44 AM
Hi guys,
I am trying to set connection for VBA with SAS, can anyone help me please understand where to get
the server name and data source from in the below statement? is "sas.LocalProvider" standard statement that i can use as it is or do i need to change it and use my own provider name? if so where to get it from? also the Data Source folder is within SAS software I believe in the Libraries isn't it? so what to write?
obConnection.Provider = "sas.LocalProvider.1"
obConnection.Properties("Data Source") = "folder containing SAS tables"
obConnection.Open
Regards,
Samo
I am trying to set connection for VBA with SAS, can anyone help me please understand where to get
the server name and data source from in the below statement? is "sas.LocalProvider" standard statement that i can use as it is or do i need to change it and use my own provider name? if so where to get it from? also the Data Source folder is within SAS software I believe in the Libraries isn't it? so what to write?
obConnection.Provider = "sas.LocalProvider.1"
obConnection.Properties("Data Source") = "folder containing SAS tables"
obConnection.Open
Regards,
Samo