Database screenshot. This is a database that i am trying to link to a.asp classic page. I was wondering if there was a way to enter multiple records into the same.asp page and/or to enter a specific record into the page if needed to.
Hello,How do I update database record (MS Access) in classic ASP when javascript onclick event is triggered on the image button?
![Update Update](/uploads/1/2/6/4/126438664/301463707.png)
Updating database records in classic ASP using javascript Hello, How do I update database record (MS Access) in classic ASP when javascript onclick event is triggered on the image button? 'The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing.
Here's the detailed description of what I'm trying to achieve.Ajax Update Database Classic Asp Instr
I have created a recordset 'rsMembers' in my (classic) ASP page for displaying a record stored in the MS Access database table and bound the table field data on the ASP page for the initial display of the personal details record data to the user when the page is loaded on the browser. The ASP page looks like the image shown below.What I want to achieve is when the user clicks the blue circular button on the page, I want the javascript onclick event script to trigger/execute vbscript ASP update codes shown below.
I know how to update MS Access database records using ASP when the ASP page is loaded or when the submit button inside a form is pressed but I don't know how to achieve this using javascript -- onclick event of the image button. That is, I want to know the way of changing the database record without submitting/opening the ASP page.
Is this possible? Please show me the correct javascript codes for executing particular block of vb codes shown above if possible.