I usually use SQL Server, but have occasionally had to use Access. This is
such an occasion. My research, mainly at aspfaq.com, has been that you need
to put the file path in your connection string, like this (watch out for the
wrap):
strConnection = "Provider=Micro soft.Jet.OLEDB. 4.0;Data
Source=c:\mydir ectoryname\dbna me.mdb;User Id=xxxxx;Passwo rd=xxxxxxx;"
Well, the host of this new site I am working on is asking me if a relative
path will work. I don't think it will, but thought I should ask.
And please, I know that Access is not a good choice, but it needs to be this
way in this case.
such an occasion. My research, mainly at aspfaq.com, has been that you need
to put the file path in your connection string, like this (watch out for the
wrap):
strConnection = "Provider=Micro soft.Jet.OLEDB. 4.0;Data
Source=c:\mydir ectoryname\dbna me.mdb;User Id=xxxxx;Passwo rd=xxxxxxx;"
Well, the host of this new site I am working on is asking me if a relative
path will work. I don't think it will, but thought I should ask.
And please, I know that Access is not a good choice, but it needs to be this
way in this case.
Comment