Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Moving the weekly_poll.mdb file
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Moving the weekly_poll.mdb file

 Post Reply Post Reply Page  <12
Author
D4D1 View Drop Down
Newbie
Newbie


Joined: 25 August 2003
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote D4D1 Quote  Post ReplyReply Direct Link To This Post Posted: 25 August 2003 at 2:12pm

ahhh, nope, but I also cannot find strDbPathAndName in the common.inc file either, but I did find this:

'strCon = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & Server.MapPath("weekly_poll.mdb") 

is that the same thing as what you were asking about?

or do I add the dim varible, strDbPathAndName, in common.inc file and make it  = the dir I want to use before the strcon = section and change it to:

add this

Dim strDbPathAndName

and add this above the strCon call:

strDbPathAndName="c:\winnt\temp\weekly_poll.mdb"

and change this:

strCon = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("weekly_poll.mdb")

to this:

strCon = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & strDbPathAndName

?

Thanks for the help, It is really apperciated.

 

Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 25 August 2003 at 2:15pm

strCon = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c:\winnt\temp\weekly_poll.mdb"

try that

that should work.... im off for now be on later....

Back to Top
D4D1 View Drop Down
Newbie
Newbie


Joined: 25 August 2003
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote D4D1 Quote  Post ReplyReply Direct Link To This Post Posted: 25 August 2003 at 2:19pm

ok, I will try that, thanks and catch you later.

 

Back to Top
D4D1 View Drop Down
Newbie
Newbie


Joined: 25 August 2003
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote D4D1 Quote  Post ReplyReply Direct Link To This Post Posted: 25 August 2003 at 2:23pm

That Work Perfectly!!! Thanks for the help, I really apperciated it.

Web Wiz Rocks!!!

Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.