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.



 Subscribe in a reader

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

Notices


Reply
 
LinkBack Thread Tools
  #1  
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Aug 24th, 2006, 18:42
saltedm8's Avatar
SuperMember

SuperMember
Join Date: Nov 2005
Location: here
Age: 27
Posts: 1,522
Blog Entries: 2
Thanks: 1
Thanked 11 Times in 11 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
Last Blog Entry: Strict and Transitional Doctype's (Sep 12th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Aug 26th, 2006, 20:04
Rob's Avatar
Rob Rob is offline
Webforumz Founder
Join Date: Jul 2003
Location: Southern UK
Age: 34
Posts: 3,160
Blog Entries: 7
Thanks: 27
Thanked 19 Times in 16 Posts
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.
__________________
Click the 'Thanks!' button if this post has helped you

Rob - Webforumz Founder
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
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 22:01.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization 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