How to connect to a MS Access Database

This is a discussion on "How to connect to a MS Access Database" within the Databases section. This forum, and the thread "How to connect to a MS Access Database are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > Databases

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Aug 20th, 2006, 22:24
New Member
Join Date: Aug 2006
Location: UK
Age: 17
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Smile How to connect to a MS Access Database

Hi everyone it's David...

I've now made a new website and you can register to become a member. The problem is how can i store the member data.

I thought of using a MS access databse with the (first name, last name, etc) fields and then using MS infopath to connect to the database.

I've done it before connecting to a databse on my hardrive but this time i've uploaded it to my website hosting server.

I know the URL of the database. But this time i can't connect using infopath. I know there is probably an easier way for me to store the data by using SQL or another language but i don't know how to use it.

Can anyone suggest what i should do.

Thanks again

David.
Reply With Quote

  #2 (permalink)  
Old Aug 24th, 2006, 18:42
saltedm8's Avatar
Lead Administrator

SuperMember
Join Date: Nov 2005
Location: Always About
Age: 27
Posts: 1,296
Blog Entries: 1
Thanks: 1
Thanked 6 Times in 6 Posts
Re: How to connect to a MS Access Database

i come across this about a week ago, may or may not help http://www.goingware.com/tips/parame...embervars.html
__________________
My Recipe forum...don't click here
Last Blog Entry: Basic Advice for newbies (Feb 1st, 2008)
Reply With Quote
  #3 (permalink)  
Old Aug 26th, 2006, 15:39
vbw vbw is offline
New Member
Join Date: Aug 2006
Location: America
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How to connect to a MS Access Database

David,

Is your site hosted on an IIS windows server?
Reply With Quote
  #4 (permalink)  
Old Aug 26th, 2006, 16:38
New Member
Join Date: Aug 2006
Location: UK
Age: 17
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How to connect to a MS Access Database

I don't know, it is uploaded to kawanda.net

I don't know if it is IIS or anything, but i know the direct URL to the database.
Reply With Quote
  #5 (permalink)  
Old Aug 26th, 2006, 20:04
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,952
Blog Entries: 7
Thanks: 7
Thanked 4 Times in 4 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
Re: How to connect to a MS Access Database

If you host allows MSAccess Databases, then chances are it allows ASP.

The following will connect to a MSAccess database in ASP
Code: Select all
 <%
     set conn = server.createobject("ADODB.Connection")
    conn.open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=c:\full\path\to\file.mdb"
%>
I'm afraid, you'll need a lot more ASP than that to do anything useful, so pick up a good ASP book and dive into some examples.

Post back if you get stuck or need recommendations for reading.
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
Reply With Quote
Reply

Tags
connect, access, database

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Connect to DVLA database? RudeYute PHP Forum 4 Feb 4th, 2008 21:15
How to connect the microsoft access database using HTML page mazenbluee Databases 5 Nov 21st, 2007 06:49
Access Database benjamjon Databases 1 Mar 8th, 2007 20:19
How to connect flash form with Mysql database shenbagarajan Flash & Multimedia Forum 6 Jan 20th, 2006 19:59
Cannot connect to database D3mon Databases 12 Jun 13th, 2004 12:23


All times are GMT. The time now is 01:36.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43