dbTalk Databases Forums  

LINES and unique values

comp.databases.filemaker comp.databases.filemaker


Discuss LINES and unique values in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Smurf
 
Posts: n/a

Default LINES and unique values - 11-07-2009 , 08:32 PM






FM8.5

I have a system for Purchase Orders wherein I select product to be
purchased through a LINES portal referencing a PRODUCT table ID.
Sometimes I need to incorporate miscellaneous entries - entries and
values that are not part of the PRODUCT table (unique to any
particular order). Is there an obvious or elegant approach to marrying
these two needs into one Purchase Order?

Thanks
Matthew

Reply With Quote
  #2  
Old   
Christoph Kaufmann
 
Posts: n/a

Default Re: LINES and unique values - 11-08-2009 , 02:03 AM






Smurf <wearesmurfs (AT) yahoo (DOT) ca> wrote:

[FMP 8.5]
Quote:
I have a system for Purchase Orders wherein I select product to be
purchased through a LINES portal referencing a PRODUCT table ID.
Sometimes I need to incorporate miscellaneous entries - entries and
values that are not part of the PRODUCT table (unique to any
particular order). Is there an obvious or elegant approach to marrying
these two needs into one Purchase Order?
table products
table orders
table lines

Lines must have an Order ID (foreign key) and may, but do need to have a
product ID. You are free to add lines without product ID

OR:

Add a record for miscellaneous to the product table and use this.

In both cases, the line table needs it's own field for text and price
information. You don't want old orders and invoices to change if you
make changes in the order table.

--
http://clk.ch

Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.