The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> How to connect the .accdb and a HTML code
Thomas214
post Feb 18 2013, 03:41 AM
Post #1





Group: Members
Posts: 1
Joined: 18-February 13
Member No.: 18,679



I would like to create a site where there are 4 boxes, where you would select in a drop down menu text and in the other 3 write a number. Then when you press a button you would get values of the text from the .accdb and automatically calculate two of them with the written numbers and the ones in the .accdb. How could I do that? I already have the boxes and the button.


Example:

.accdb:
PROFILE.....NUMBER 1....NUMBER 2....NUMBER 3
Profile 1..........13 ...............35................23
Profile 2..........53................23................45

Site:
Imput:
Box 1: Select Profile 1 in a drop down box ........ Box 2: 12.......Box 3: 32.......Box 4 : 20%

Output:
NUMBER 1: 13......NUMBER 2: 35......Value 1: Box 2 * NUMBER 2.......Value 2: (NUMBER 3 * Box 4 )/ 100

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Feb 18 2013, 02:17 PM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,332
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



Well, you can't do this with HTML. HTML is just markup, not a programming language.

You could do it with client-side programming using JavaScript. Or you could do it more reliably with server-side programming; what kinds of server-side programming (e.g., PHP, CGI, Java servlets, ASP) can you use?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
rawka
post Feb 21 2013, 10:13 PM
Post #3


Newbie
*

Group: Members
Posts: 19
Joined: 19-February 13
Member No.: 18,685



not too much info on asp out there you are probably best at using php and a database. there is a lot of info out there for this stuff.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 6th July 2020 - 07:34 AM