Access database on the Web

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


 Subscribe in a reader

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

Notices




Closed Thread
 
LinkBack Thread Tools
  #1  
Old Jul 30th, 2004, 05:08
Junior Member
Join Date: Jul 2004
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Access database on the Web

With Dreamweaver we can create a page to show records from a database, a page to insert records, a page to update records and a page to delete records... is it possible to combine all these within 1 page?

My idea is that user can view and manipulate the database from the web just like how he can manipulate a database in Access (my database is in Access).

I know we can't add more than 1 behavior in a page, but anyone has any idea that may bring me closer to wht i want it to be?

Thanksss...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!

  #2  
Old Jul 30th, 2004, 08:55
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
If you can use ASP.NET, look into an editable datagrid, or maybe search google for a normal ASP version of a datagrid.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old Jul 30th, 2004, 13:52
Highly Reputable Member
Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
You could put them all in a text box and line them up something similar to a Spreadsheet layout. Then Let them Change them to whatever they would like. And when they hit Submit let it Just edit the file itself. As for adding new row's you'd have to make that a seperate file. If you don't know any server side scripting languages (which I presume you don't) This might be a pretty hefty task. But if you know them it should be fairly easy for you.

Deleting records and such could be on the same page.. You can put check boxes in front of every line and let them mark which one's they want to delete, and then when they submit the form it takes them to the page that actually deletes it. But you can put all of these options on the same page, you'd just have to understand the code mainly.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old Aug 1st, 2004, 14:03
Junior Member
Join Date: Jul 2004
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
I'm trying on ASP.Net editable datagrid, it is one of the behavior in Dreamweaver, but it seems that when i update a record, there is an error:
System.Data.OleDb.OleDbException: Syntax error in UPDATE statement.
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextE rrorHandling(Int32 hr)
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextF orSingleResult(tagDBPARAMS dbParams, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommandText( Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommand(Comm andBehavior behavior, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteReaderIntern al(CommandBehavior behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
at DreamweaverCtrls.DataSet.OnDataGridUpdate(Object Src, DataGridCommandEventArgs E)

Anyone knows wht's the possible cause of this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old Aug 2nd, 2004, 08:56
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
post ALL of the error message...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #6  
Old Aug 2nd, 2004, 15:26
Junior Member
Join Date: Jul 2004
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
I'm glad u replied, but it's all.
It shows the error at the upper part of that same page.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #7  
Old Aug 2nd, 2004, 16:23
Junior Member
Join Date: Jul 2004
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Thank u guys for ur time, I know wht's the reason now, the fieldname in my Access database, the datagrid works after i deleted all the spaces and special characters from the fieldnames. Yeah...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #8  
Old Aug 2nd, 2004, 20:25
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Yup! That would be a problem...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Tags
access, database, web

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
using access database ? saadi babar Classic ASP 13 Mar 19th, 2008 09:45
Microsoft Access Database Help? crackafaza Databases 10 Dec 7th, 2007 04:04
Access Database benjamjon Databases 1 Mar 8th, 2007 20:19
ASp Access database error drappendix Classic ASP 2 Jan 30th, 2007 08:36
Access Database Library vor Classic ASP 1 Aug 16th, 2003 08:16


All times are GMT. The time now is 05:14.


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