dbTalk Databases Forums  

Relationships not pulling data through

comp.databases.filemaker comp.databases.filemaker


Discuss Relationships not pulling data through in the comp.databases.filemaker forum.



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

Default Relationships not pulling data through - 02-21-2007 , 10:38 AM






I've read through a ton of threads on global fields, variable setting
etc. I can't get my head around the logically way to get related data
into a layout. I've tried setting up a table where fields are
calculated based on data pulled from global fields in each of the
other tables. How and where should I script the global field to
update based on a the "product" record active in the Product layout?

The only way I am able to get the related data is if I go down. I
haven't been able to go up through the relationship unless I require
the user to make a selection for that portal. Driving me nuts.



Relationships:

CustTable:
CustID
CustName

relationship--CustomerTable:custid (one) = OrderTable:custfk (many)

OrderTable:
OrderID
OrderPO
custfk
G_ID_PO (global calc: orderid & "_" & orderPO)

relationship-OrderTablerderid (one) = OrderDetailTablerderfk
(many)

OrderDetailTable:
OrderDetailID
OrderMasterCartonID
OrderQty
Orderfk
G_OrdD_MC (global calc: orderdetailid & "_" & ordermastercartonid)

- relationship OrderDetailTablerderdetailid (one) =
MasterCartonTablerderdetail_fk (many)

MasterCartonTable:
MasterCartonID
MasterCartonName
orderdetail_fk
Product in MC (pop up from value list pulling from product table field
- ends up listing all...will get very lengthy!! UGH!)
G_MCID_MCName (global calc: mastercartonid & "_" & mastercartonname)

-relationship MasterCartonTable:mastercartonid (one) =
ProductTable:mastercartonfk (many)

ProductTable:
ProductID
ProductName
mastercartonfk


Creatively,
CarpeFlora
"Sieze the Beauty"


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 - 2012, Jelsoft Enterprises Ltd.