Current location: Hot Scripts Forums » Programming Languages » ASP » Help! I facing trouble by linking access database


Help! I facing trouble by linking access database

Reply
  #1 (permalink)  
Old 01-25-04, 07:44 PM
Kenyiew Kenyiew is offline
New Member
 
Join Date: Jan 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Help! I facing trouble by linking access database

I am doing my final year project but I facing the trouble that I cant links the database.
What I use is:

Macromedia Dreamweaver MX
Microsoft Access
ASP

Can any body help me?? hopefully can get response as soon as possible..
TQ

ycw_80@yahoo.com
Reply With Quote
  #2 (permalink)  
Old 01-25-04, 08:52 PM
Xtremist Xtremist is offline
Newbie Coder
 
Join Date: Aug 2003
Location: Pensacola, FL
Posts: 99
Thanks: 0
Thanked 0 Times in 0 Posts
Go to window and make sure bindings or database of one of those is checked. Then click on Bindings or Server Bahaviors and click Recordset. Then name the connection and click define. You can either use DSN or map to the database. DSN is easy because you type in the name of the DSN you created on the server. Mapping is easy too... you enter something like this (depends on where your database if)...

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

Then click done and you should be able to finish the recordset with the filtering and ordering that you want. You can switch to advanced if you need to create more query options.

Hope this helps.

BTW, go to bindings to see the fields you need and you can simply drag them where you want them. You can also use the Dynamic Text if you want and it gives you some better formatting abilities.
__________________
Chris
http://www.pensacolawebdesigns.com
I know it's not much but I never find time to work on my own site
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dreamweaver and access database Gian79 ASP 4 01-25-04 09:10 PM
Access to SQL Script conversion PaniXOH PHP 1 11-16-03 06:30 AM
Script Conversion: Access Database/Now to SQL PaniXOH ASP 1 11-14-03 09:35 PM
not able to connect access databse via vb6.0 traceMe Visual Basic 2 10-31-03 11:37 PM


All times are GMT -5. The time now is 04:06 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.