If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > FileMaker > new db by novice

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-03-05, 10:43
Josephus Josephus is offline
Registered User
 
Join Date: Jan 2005
Posts: 3
new db by novice

Hi all,
I'm new to databases in general, trying to set up a db in Filemaker, learning from the help folder as well as this forum.

I defined a value list with a list of my products, I'd like to make the prices automatically appear in another field. For example, if I select '1 case' in the item field, I'd like '$100' to automatically appear in the price field. Then, if I select '2' in the quantity field, I'd like the price field to reflect that ($200).

Any help would be appreciated.
Thanks,
Reply With Quote
  #2 (permalink)  
Old 01-03-05, 16:57
edmonton edmonton is offline
Registered User
 
Join Date: Sep 2003
Location: San Diego
Posts: 25
The Price field should be a "Calculation" field. THe calculation would be "qty * Price per item".

Make sure that the Data Type is Calculation which will do it in real time. If you choose AutoEnter Calculation, then the Calculation will only happen once when the record is first created.

Hope this helps...
Reply With Quote
  #3 (permalink)  
Old 01-04-05, 09:37
Josephus Josephus is offline
Registered User
 
Join Date: Jan 2005
Posts: 3
Thanks Ed,
How would I get the price field to display the item price when I select an item in the item name list?
Reply With Quote
  #4 (permalink)  
Old 01-04-05, 15:08
edmonton edmonton is offline
Registered User
 
Join Date: Sep 2003
Location: San Diego
Posts: 25
Item Price should be a lookup based on a relationship between Product to itself.
Reply With Quote
  #5 (permalink)  
Old 01-06-05, 18:08
Josephus Josephus is offline
Registered User
 
Join Date: Jan 2005
Posts: 3
Still haven't figured it out

The lookup seems to just copy the value from the looked up field.

I want it to do this calculation: small = $100, Medium - $200, large = $300,
So if the value in 'item name' is small, the price field would show $100 etc.

Thanks for all your help,
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 On
Pingbacks are On
Refbacks are On