Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / April 2004

Tip: Looking for answers? Try searching our database.

new at this

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kevin carter - 07 Apr 2004 10:21 GMT
hi
can you please help me
i am new at using access
i have created a form that accepts user input for components
what i want is to have the user select a component from a list and on doing
so the price for the component is displayed on the form.
when the user enters the quantity the total price is displayed on  the form
how do i get the total price to calculate on the condition that both the
component and price fields are not empty?

thanks in adavnce

kevin
Jeff Boyce - 09 Apr 2004 13:18 GMT
Kevin

Actually, I suspect you'll want to be able to have the total price
recalculated when  1) the component is changed or  2) the quantity is
changed, AND both fields have an entry.

One approach would be to write a general procedure as "code behind form" --
this procedure would recalculate and fill the total field, based on the
contents.  In each of the two other fields' (quantity, component)
AfterUpdate events, you'd "Call" that general routine.

Signature

Good luck

Jeff Boyce
<Access MVP

kev carter - 14 Apr 2004 20:33 GMT
thanks i will try now

> Kevin
>
[quoted text clipped - 6 lines]
> contents.  In each of the two other fields' (quantity, component)
> AfterUpdate events, you'd "Call" that general routine.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.