Wrox Programmer Forums
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old August 7th, 2006, 09:05 AM
Registered User
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help on forms - important

Ok, ive been looking around and i can neither find tutorials or posts about this before.

What im doing is trying to do is have a form. This form is pulling information from a table that has such data as job name, wirecenter and dates sent to specific people. Now the part i need help is this. I have a part where you need to select what type of job it is.
quote:1) Job type 1
2) Job type 2
3) Job type 3
4) etc
But the thing each job type obviously has different prices. Now when the select a job type (from a drop down) it pulls the prices and inputs it into the form without the user having to input it. Then when they save the form as a record, it updates the "final prices" into the table.

If someone has an example or send me some DB that could point me in the right direction or even a tutorial id be very much pleased.


Old August 7th, 2006, 03:23 PM
Friend of Wrox
Join Date: Dec 2005
Posts: 142
Thanks: 0
Thanked 0 Times in 0 Posts

You'll need a table associating job types with their prices, and then to use the DLookup function to pull that price into the form you're using. The examples here: (http://www.techonthenet.com/access/f...in/dlookup.php) should help.

Old August 14th, 2006, 10:19 AM
Friend of Wrox
Join Date: Jun 2003
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG

When you say, "it updates the 'final prices' into the table," remember NOT to save the total of the summed prices. That is a waste of dB space. Always recalculate that when you need it.

Only save the individual prices if you need to store a historical value of what they were at the time of purchase and you know the prices per item may change later.

Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division

Similar Threads
Thread Thread Starter Forum Replies Last Post
Struts important Raja.anguchamy Struts 1 June 12th, 2008 07:55 AM
Important need help... riki_gill ASP.NET 1.x and 2.0 Application Design 0 October 25th, 2006 09:19 AM
[important]rowfilter ahooi Pro VB.NET 2002/2003 0 July 11th, 2005 10:57 PM
important aylin_sk Oracle 2 February 25th, 2005 02:05 AM
An important message abdul_owiusa C# 2 August 12th, 2004 08:58 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.