Web Design and Development Forums

Access database, Dreamweaver and a noob

This is a discussion on "Access database, Dreamweaver and a noob" within the ASP Forum section. This forum, and the thread "Access database, Dreamweaver and a noob are both part of the Program Your Website category.


Go Back   Webforumz.com > Program Your Website > ASP Forum

Welcome to Webforumz.com.
Register Now Register now!

Reply
 
LinkBack Thread Tools Rate Thread
Old Mar 17th, 2008, 20:13   #1 (permalink)
Junior Member
 
Join Date: Jan 2008
Location: England
Age: 23
Posts: 47
Access database, Dreamweaver and a noob

Hey all

Dunno if you go on the other forum pages so if not hey

Right firsly I am doing a dissertation creating a e-commerce website usuing Access Database and Dreamweaver MX. The website is only a prototype so it doesnt need to fully work but does need the quailty of a well designed website.

To be honest I am sooo new to this and have little knowledge.

I am looking for some one to point me in the right direction or to tell me how to

1) Connect a Access Database to Dreamweaver MX

2) Insert the right code in tables to pull only the required record and record data necessary.

Or do you think I should abandon it and convert my Access Database into SQL and try usuing PHP?
andrwleong is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Mar 17th, 2008, 21:45   #2 (permalink)
 
Join Date: Jun 2007
Location: uk
Posts: 459
Re: Access database, Dreamweaver and a noob

This is only personal preference but PHP/Mysql and apache was easier to work with than ASP.NET

Pat
dab42pat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Mar 18th, 2008, 07:28   #3 (permalink)
Junior Member
 
Join Date: Jan 2008
Location: England
Age: 23
Posts: 47
Re: Access database, Dreamweaver and a noob

Quote:
Originally Posted by dab42pat View Post
This is only personal preference but PHP/Mysql and apache was easier to work with than ASP.NET

Pat

cool so I have been hearing.

Am more worried about pulling the information from my database. Rather than list all records and fields in a table I will be wanting to pull out select records and select details about that record. Is that easy to do?
andrwleong is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Mar 18th, 2008, 08:03   #4 (permalink)
Section Manager - Design Forums
 
frinkky's Avatar
 
Join Date: Oct 2006
Location: Southampton
Posts: 214
Blog Entries: 2
Send a message via MSN to frinkky Send a message via Skype™ to frinkky
Re: Access database, Dreamweaver and a noob

With an Access db you'll be (usually) using asp, not asp.net. It seems this dissertation would only succeed if you were discussing how technology changes and this is the 'old school'. Of course you'd then need need to conduct experiments with the more usual php/mysql(or ms sql) and then asp.net (which is awesome in the right hands). At best you may be able to export sql statements from access to provide a basis for other db's.

The way I see it: asp/access = home novice. php/mysql = novice/designer/developer. asp.net/* sql = developer.
__________________
Jon Warner
Section Manager (Design)

frinkky is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Mar 18th, 2008, 08:32   #5 (permalink)
Up'n'Coming Member
 
Join Date: Sep 2007
Location: Wales, UK
Age: 35
Posts: 75
Send a message via MSN to robbied72 Send a message via Skype™ to robbied72
Re: Access database, Dreamweaver and a noob

Quote:
Originally Posted by frinkky View Post
The way I see it: asp/access = home novice. php/mysql = novice/designer/developer. asp.net/* sql = developer.
Your claims of ASP are quite outrageous, I have been developing on the platform for 10 years and am the Web Manager of a Local Authority and we run a load of applications using ASP/SQL Server including Multilingual CMS's CRM and a host of other back office and forward facing apps.
__________________
Languages: ASP, RUBY(a little), XML, XHTML, CSS, JavaScript, JQuery - www.bizmo.co.uk
robbied72 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Mar 18th, 2008, 08:37   #6 (permalink)
Most Reputable Member
 
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,567
Blog Entries: 2
Send a message via Yahoo to Monie
Re: Access database, Dreamweaver and a noob

Quote:
Originally Posted by andrwleong View Post
Hey all

Dunno if you go on the other forum pages so if not hey

Right firsly I am doing a dissertation creating a e-commerce website usuing Access Database and Dreamweaver MX. The website is only a prototype so it doesnt need to fully work but does need the quailty of a well designed website.

To be honest I am sooo new to this and have little knowledge.

I am looking for some one to point me in the right direction or to tell me how to

1) Connect a Access Database to Dreamweaver MX

2) Insert the right code in tables to pull only the required record and record data necessary.

3) Or do you think I should abandon it and convert my Access Database into SQL and try using PHP?
Question 1.

You don't connect a database to your Dreamweaver
You connect your database to interact with your page (ASP or PHP)
I know what you mean by "Connect a Access Database to Dreamweaver MX"
You are talking about the Server Behaviors function in DW right?
I am suggesting that you do a manual hand written code to connect to your database (MSSQL or MySQL). It' damn easy once you know the trick
Here is some sample..
PHP: Select all

[MSSQL (ACCESSDatabase Connection and Recordset (DNS-LESS Connection)]

<%
Dim connrs
set conn 
Server.CreateObject("ADODB.Connection")
conn.Provider "Microsoft.Jet.OLEDB.4.0"
conn.Open(Server.Mappath("/db/northwind.mdb"))
set rs Server.CreateObject("ADODB.recordset")
rs.Open "SELECT * FROM Customers WHERE status = Married"conn
%> 
Question 2

As shown in the above SQL statement:
Code: Select all
"SELECT * FROM Customers WHERE status = Married"
will only show/pull a customer information which have the status of Married!

Question 3

I have use ASP with MySQL and found it is as easy as with MSSQL.
My recommendation is to switch to PHP/MySQL.
They are a great couple!

Cheers...
__________________

Monie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Mar 18th, 2008, 09:24   #7 (permalink)
Section Manager - Design Forums
 
frinkky's Avatar
 
Join Date: Oct 2006
Location: Southampton
Posts: 214
Blog Entries: 2
Send a message via MSN to frinkky Send a message via Skype™ to frinkky
Re: Access database, Dreamweaver and a noob

Quote:
Originally Posted by robbied72 View Post
Your claims of ASP are quite outrageous, I have been developing on the platform for 10 years and am the Web Manager of a Local Authority and we run a load of applications using ASP/SQL Server including Multilingual CMS's CRM and a host of other back office and forward facing apps.
Always going to p1ss someone off. Perhaps I should have elaborated; I'm a designer not a developer so my experience is limited although not non-existent. Remember the days of having to 'replicate'? Those were my access days, maybe thats why I moved in another direction. By the way, I didn't mention asp/sql.

But kudos to Monie, keeping this on track
__________________
Jon Warner
Section Manager (Design)


Last edited by frinkky; Mar 18th, 2008 at 09:29.
frinkky is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Mar 18th, 2008, 09:37   #8 (permalink)
Junior Member
 
Join Date: Jan 2008
Location: England
Age: 23
Posts: 47
Re: Access database, Dreamweaver and a noob

Quote:
Originally Posted by Monie View Post
Question 1.

You don't connect a database to your Dreamweaver
You connect your database to interact with your page (ASP or PHP)
I know what you mean by "Connect a Access Database to Dreamweaver MX"
You are talking about the Server Behaviors function in DW right?
I am suggesting that you do a manual hand written code to connect to your database (MSSQL or MySQL). It' damn easy once you know the trick
Here is some sample..
PHP: Select all

[MSSQL (ACCESSDatabase Connection and Recordset (DNS-LESS Connection)]
 
<%
Dim connrs
set conn 
Server.CreateObject("ADODB.Connection")
conn.Provider "Microsoft.Jet.OLEDB.4.0"
conn.Open(Server.Mappath("/db/northwind.mdb"))
set rs Server.CreateObject("ADODB.recordset")
rs.Open "SELECT * FROM Customers WHERE status = Married"conn
%> 
Question 2

As shown in the above SQL statement:
Code: Select all
"SELECT * FROM Customers WHERE status = Married"
will only show/pull a customer information which have the status of Married!

Question 3

I have use ASP with MySQL and found it is as easy as with MSSQL.
My recommendation is to switch to PHP/MySQL.
They are a great couple!

Cheers...
Wooow thanks for this reply. This was very very very useful.

Could you just help me understand this more thanks.

Understanding Answer 1
From my understanding of what you wrote. I keep my Database in Access and use MySQL to get the database and dreamweaver to interact?

Understanding Answer 2
"SELECT * FROM Customers WHERE status = Married"
Thank you for this code, I assume it would create a table of all the people who were married with all the fields such as 'picture' 'personID' 'Name' 'age' 'sex' 'material status' 'etc' 'etc' 'etc' .

What am stuck on is pulling more specific detail on selected records with selected fields.

A)On the above list lets say I only wanted to pull out all the people who are 'married' but only display their picture, name, age and material status?

B) The same as above but only a specific person.

It is hard to explain but in question two. I would like the indavidual fields to show in the tables i have created in dreamweaver. I have attached a picture of an example table I would set out.
Attached Images
File Type: jpg table set out.jpg (10.2 KB, 3 views)
andrwleong is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Mar 18th, 2008, 09:47   #9 (permalink)
Up'n'Coming Member
 
Join Date: Sep 2007
Location: Wales, UK
Age: 35
Posts: 75
Send a message via MSN to robbied72 Send a message via Skype™ to robbied72
Re: Access database, Dreamweaver and a noob

Quote:
Originally Posted by frinkky View Post
Always going to p1ss someone off. Perhaps I should have elaborated; I'm a designer not a developer so my experience is limited although not non-existent. Remember the days of having to 'replicate'? Those were my access days, maybe thats why I moved in another direction. By the way, I didn't mention asp/sql.

But kudos to Monie, keeping this on track
Hi Frinkky, Yes you are right that you didn't mention ASP/SQL but there is not a great deal of difference in the programming methods for Access / SQL.

I just didn't want nobody to get the wrong idea about ASP.

Additionally, I likewise commend Monie for keeping on track.
__________________
Languages: ASP, RUBY(a little), XML, XHTML, CSS, JavaScript, JQuery - www.bizmo.co.uk
robbied72 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Mar 18th, 2008, 10:37   #10 (permalink)
Most Reputable Member
 
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,567
Blog Entries: 2
Send a message via Yahoo to Monie
Re: Access database, Dreamweaver and a noob

Quote:
Originally Posted by andrwleong View Post
Could you just help me understand this more thanks.

Understanding Answer 1
From my understanding of what you wrote. I keep my Database in Access and use MySQL to get the database and dreamweaver to interact?

Answer:
What I really mean was.. I keep my database/data in ACCESS or MySQL and use Dreamweaver as my text editor and connect them using a manual hard coded code to connect my ASP or PHP page to my database

Sorry if this confuse you. If it does, please let me know, ok?
Cheers...


Understanding Answer 2

A) On the above list lets say I only wanted to pull out all the people who are 'married' but only display their picture, name, age and material status?

Answer:
"SELECT picture, name, age, status FROM Tablename WHERE status = Married"

B) The same as above but only a specific person.

It is hard to explain but in question two. I would like the indavidual fields to show in the tables i have created in dreamweaver. I have attached a picture of an example table I would set out.

Answer:
"SELECT picture, name, age, status FROM Tablename WHERE status = 'Married' and Username = 'John'"
Does this what you are looking for mate?
Please let me know..
__________________

Monie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Mar 18th, 2008, 12:50   #11 (permalink)
Junior Member
 
Join Date: Jan 2008
Location: England
Age: 23
Posts: 47
Re: Access database, Dreamweaver and a noob

Quote:
Originally Posted by Monie View Post
Does this what you are looking for mate?
Please let me know..
awww thanks mate that is great.

"SELECT picture, name, age, status FROM Tablename WHERE status = 'Married' and Username = 'John'"

Would i identify this usuing ID rather than name incase more than one person is called john.

once this information is pulled am I okay to select where I want to put it in tables?

Thank you so much for taking the time to do this for me

andrwleong is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Mar 18th, 2008, 13:22   #12 (permalink)
Most Reputable Member
 
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,567
Blog Entries: 2
Send a message via Yahoo to Monie
Re: Access database, Dreamweaver and a noob

Yeah sure, you can use ID instead of the Username
and you can place them anywhere you want in your table... <%=rs("picture")%>

Cheers...
__________________

Monie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Mar 18th, 2008, 13:29   #13 (permalink)
Most Reputable Member
 
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,567
Blog Entries: 2
Send a message via Yahoo to Monie
Re: Access database, Dreamweaver and a noob

Quote:
Originally Posted by robbied72 View Post
Hi Frinkky, Yes you are right that you didn't mention ASP/SQL but there is not a great deal of difference in the programming methods for Access / SQL.

I just didn't want nobody to get the wrong idea about ASP.

Additionally, I likewise commend Monie for keeping on track.
I still think that ASP is a great language other that it is easy to understand (English-Like-Language) compare to PHP which is much more technical to understand what's the meaning of a certain line of code unless you have a basic C programming knowledge...

ASP can achieve what PHP can do! It all depends on how good you are in programming world. About the database, I agree ACCESS is for begineer and MySQL is for advance user

Cheers...
__________________

Monie is offline  
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

Thread Tools
Rate This Thread
Rate This Thread:

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
using access database ? saadi babar ASP Forum 13 Mar 19th, 2008 09:45
Microsoft Access Database Help? crackafaza MSSQL & Access 10 Dec 7th, 2007 04:04
Access Database benjamjon MSSQL & Access 1 Mar 8th, 2007 20:19
How to connect to a MS Access Database DJB MASTER MSSQL & Access 4 Aug 26th, 2006 20:04
Access database on the Web redkyna MSSQL & Access 7 Aug 2nd, 2004 20:25



Latest Updates

All Points SEO Security Advisory - CHECK YOUR SITE NOW!

Creative Coding :: February 2008

Webforumz is sponsored by: WESH UK Web Hosting
All times are GMT. The time now is 20:00.

Sleep Study Scoring :: Free Bet :: Website Templates :: Online Betting :: Bookmakers :: Funny Quotes :: Internet Recruitment Software :: Microsoft CRM Experts :: Online Casino :: Decorated Christmas Trees :: Midwife Forums :: Football Betting :: Ecommerce Software :: Web Hosting :: Football Stats :: Dry Cleaning Collection :: xtreme wales - extreme clothing :: Apuestas :: Sharepoint Consultants ::