Unable to use the SAS Data provider

  • Follow


Hi all,

I am writing a VB program on a pc that does not have local SAS
installed but can run SAS thru a network.  I got a "provider not
found" error when trying to access the SAS.LocalProvider.  I figure I
probably need to tell it where the provider is.  How do I do that?

Thanks in advance,
W.


    cn.Provider = "SAS.LocalProvider"
    cn.Properties("Data Source") = "c:\mydata"
    cn.Open
    rs.Open "test", cn, adOpenForwardOnly, adLockReadOnly,
adCmdTableDirect
0
Reply haungw1 (1) 7/3/2003 3:30:54 PM

From Archives:









Has SAS data provider has been installed?.

Look at this info at SI web site.

http://support.sas.com/rnd/eai/oledb/gs_testing.htm



Prasad Ravi






                         wh
                         <haungw1@YAHOO.COM>    To:    SAS-L@LISTSERV.UGA.EDU
                         Sent by: "SAS(r)       cc:
                         Discussion"            Subject: Unable to use the SAS Data provider
                         <SAS-L@LISTSERV.UGA.E
                         DU>


                         07/03/2003 08:30 AM
                         Please respond to wh






Hi all,

I am writing a VB program on a pc that does not have local SAS
installed but can run SAS thru a network.  I got a "provider not
found" error when trying to access the SAS.LocalProvider.  I figure I
probably need to tell it where the provider is.  How do I do that?

Thanks in advance,
W.


    cn.Provider = "SAS.LocalProvider"
    cn.Properties("Data Source") = "c:\mydata"
    cn.Open
    rs.Open "test", cn, adOpenForwardOnly, adLockReadOnly,
adCmdTableDirect
0
Reply prasad.s.ravi (144) 7/3/2003 5:38:21 PM


1 Replies
80 Views

(page loaded in 0.071 seconds)

Similiar Articles:













7/5/2012 4:55:15 PM


Reply: