Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 7th, 2006, 09:05 AM
Registered User
 
Join Date: Aug 2006
Location: , , .
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:
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.

-Thanks
Jon

Reply With Quote
  #2 (permalink)  
Old August 7th, 2006, 03:23 PM
Friend of Wrox
 
Join Date: Dec 2005
Location: , , .
Posts: 142
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.

Reply With Quote
  #3 (permalink)  
Old August 14th, 2006, 10:19 AM
Friend of Wrox
Points: 4,007, Level: 26
Points: 4,007, Level: 26 Points: 4,007, Level: 26 Points: 4,007, Level: 26
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Lansing, Michigan, USA.
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
Default

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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 01:42 AM.


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