By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,238 Members | 1,152 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,238 IT Pros & Developers. It's quick & easy.

How to update the access database with the HTML table data

P: 30
Hi All,

Good Morning!

My requirement is as below:

I am having a HTML table and the text boxes are embedded as a row of the tabel.

And I am having a button at the end of the page. When I click the submit button, the datas entered in the HTML table should be inserted into the access database.

I have created the access mdb in my local.

If I wrirte my input type code after closing the table, the database is updated with those values.
But the html table data is not updated in the access database.
I have attached my coding with this request.

please help me.
Attached Files
File Type: txt Productivityv1.txt (4.3 KB, 296 views)
Oct 10 '09 #1
Share this Question
Share on Google+
2 Replies


gits
Expert Mod 5K+
P: 5,390
@susinthaa
could you try to rephrase that ... so that it becomes a bit more clear what the problem is?
Oct 13 '09 #2

RamananKalirajan
100+
P: 607
Hi Susinthaa,
I have gone through your code I dont about the DB Connection stuff. But i noticed one thing.. In the Query statement you have directly used names.value. Its like you can access an input value directly like that. If you are having an input element means have an id for that element.

ex:
HTML Code

Expand|Select|Wrap|Line Numbers
  1. <input type="text" id="names" name="names" />  
In the JS you can access that element value using

Expand|Select|Wrap|Line Numbers
  1. document.getElementById('names').value
--> this will return the elements value. Just try and post back if you have any issues

Thanks and Regards
Ramanan Kalirajan
Oct 13 '09 #3

Post your reply

Sign in to post your reply or Sign up for a free account.