PC Review


Reply
Thread Tools Rate Thread

Adding fields in a FP Form

 
 
Graham Skaines
Guest
Posts: n/a
 
      21st Sep 2003
I have created a form named 'FrontPage_Form1' I have three fields called
'Amount1' , 'Amount2' and 'Amount3'. What I want to do is have a field that
adds the three amounts as they are entered and show the value in a field
called 'Total'. This form saves to an Access database.

Is there a simple script that I can add to the page to do this and where
abouts do I add it in the html code.

Thanks
Graham


 
Reply With Quote
 
 
 
 
Tom Gahagan
Guest
Posts: n/a
 
      21st Sep 2003
Hi Graham.......

Of course, "simple" is a relative term!

Your form submit can call a simple asp (or php if you are on a unix host)
page that can do all the database work.... add the three fields...puts the
sum in a field that holds the total.... then returns to show the completed
work. Not all that complicated... if you've done a little asp or php
work and even if you've not.. I bet you can pick it up pretty quick.

If you have not.... a good place (or two) to find tons of example code to
get you started and for asp help would be...

www.planet-source-code.com
www.4guysfromrolla.com

for php stuff check out... www.hotscripts.com (they have lots of other
stuff their too besides php scripts.

So I guess the answer is yes... it can be done. Don't be afraid of the asp
or php stuff it really is not all that hard and you put the code right in
the same file as your html.

Hope this is a help.
Tom Gahagan
eThomaston.com

"Graham Skaines" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I have created a form named 'FrontPage_Form1' I have three fields called
> 'Amount1' , 'Amount2' and 'Amount3'. What I want to do is have a field

that
> adds the three amounts as they are entered and show the value in a field
> called 'Total'. This form saves to an Access database.
>
> Is there a simple script that I can add to the page to do this and where
> abouts do I add it in the html code.
>
> Thanks
> Graham
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Fields to Form Bob Quintal Microsoft Access Forms 2 18th Mar 2008 10:53 PM
Adding Fields in an Access 2003 Form, including null fields =?Utf-8?B?Qi4gTGV2aWVu?= Microsoft Access 5 12th Nov 2006 04:56 AM
adding fields in form Furious Shepherd Microsoft Access Getting Started 5 5th Jan 2004 02:17 AM
Adding Fields to Form CEVisker Microsoft Access Forms 2 29th Nov 2003 09:26 PM
adding fields in form Neo Microsoft Access Forms 1 1st Jul 2003 05:07 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:21 AM.