iEntry 10th Anniversary Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > Putting it Together > Databases

Closed Thread
 
LinkBack Thread Tools
Old July 30th, 2004, 02:08 AM   #1
New Member
 

Join Date: Jul 2004
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 redkyna is on a distinguished road
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...
redkyna is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Old July 30th, 2004, 05:55 AM   #2
Highly Reputable Member
 

Join Date: Jul 2003
Location: Ipswich, UK
Posts: 686
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Smokie will become famous soon enough
If you can use ASP.NET, look into an editable datagrid, or maybe search google for a normal ASP version of a datagrid.
Smokie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Old July 30th, 2004, 10:52 AM   #3
Highly Reputable Member
 

Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 courtjester is on a distinguished road
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.
courtjester is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Old August 1st, 2004, 11:03 AM   #4
New Member
 

Join Date: Jul 2004
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 redkyna is on a distinguished road
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?
redkyna is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Old August 2nd, 2004, 05:56 AM   #5
Highly Reputable Member
 

Join Date: Jul 2003
Location: Ipswich, UK
Posts: 686
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Smokie will become famous soon enough
post ALL of the error message...
Smokie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Old August 2nd, 2004, 12:26 PM   #6
New Member
 

Join Date: Jul 2004
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 redkyna is on a distinguished road
I'm glad u replied, but it's all.
It shows the error at the upper part of that same page.
redkyna is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Old August 2nd, 2004, 01:23 PM   #7
New Member
 

Join Date: Jul 2004
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 redkyna is on a distinguished road
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...
redkyna is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Old August 2nd, 2004, 05:25 PM   #8
WebForumz Admin Badge
 

Join Date: Jul 2003
Posts: 1,848
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 114 Webforumz Staff is on a distinguished road
Yup! That would be a problem...
Webforumz Staff is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Bookmarks

Tags
access , database , web


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 March 19th, 2008 07:45 AM
Microsoft Access Database Help? crackafaza Databases 10 December 7th, 2007 01:04 AM
Access Database benjamjon Databases 1 March 8th, 2007 05:19 PM
ASp Access database error drappendix Classic ASP 2 January 30th, 2007 05:36 AM
Access Database Library vor Classic ASP 1 August 16th, 2003 05:16 AM


Search Engine Optimization by vBSEO 3.2.0 RC8