Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Nested relationship ???

Featured Replies

Order_detail relates to Order_main by Order#. Order_main relates to Customer by Customer# . Order_detail layout shows related Customer# but because it is not directly related to Customer it can not find Customer name. (Customer name in Order_main thru relationship. I know this is simple but I'm lost.

Thanks

Why can't you create a relationship between Customer Nr in Customer DB and the Customer Nr in Order_Detail?

Pete

PS: I cannot find the hash key on my mac keyboard.

Peter - Try Alt and 3 - I think - from what I can remember from my Mac days

I found it - Shift 3 (which should return the british pound which is Alt 3. But do not forget, apart from this keyboard blimp, Mac is superior in every other way. Mac Users are normally nicer people too (sic)

Pete

I'll go with "Mac users are normally nicer people too", but I won't go with "Mac is superior" (see above) - NO WARS, ok?

Can someone tell me how to type a paragraph symbol with my inferior Windows keyboard?

jtwilber,

Apart these shortkeys problems, what is it that you cannot relate ?

Order Detail is a layout in the Order_Main file !!!! So why would you want it to related to the Order_Main file ?

You're not on a Mac, are you ? grin.gif

  • Author

uh ok... Orderdetail.db5 is a file that holds the line items (item#, description, Quantity, product blurb etc) for an order (related by order#). OrderMain.db5 is the basic order info (Customer#, Customer name, Contact, dates etc.). OrderMain.db5 has a portal that looks up Customer name from Customer.db5 thru Customer# relationship. When I try to create a lookup in orderdetail.db5 from OrderMain.db5 Customername field does not show up in the field list (maybe because it is in a portal and not actually a fixed field. :

PS - I'm not on a mac but I really am nice.... honest.

JWilber

uh ok... Orderdetail.db5 is a file that holds the line items (item#, description, Quantity, product blurb etc) for an order (related by order#). OrderMain.db5 is the basic order info (Customer#, Customer name, Contact, dates etc.). OrderMain.db5 has a portal that looks up Customer name from Customer.db5 thru Customer# relationship. When I try to create a lookup in orderdetail.db5 from OrderMain.db5 Customername field does not show up in the field list (maybe because it is in a portal and not actually a fixed field. :

Well, Customer_ID and Name should come through a lookup to the Order_Main.

When entering the order in the Line Item, you should use a portal set to create related records.

In the Line Item, the Customer_Id should be filled by lookup to the Order_Main by a relationship Order#::Order#, and the Customer Name could either be a lookup from the Customer file, using Line Item:Customer_ID::Customerfile:Customer_ID or from the Order_Main file using exactly the same relationship Line Item:Customer_ID::OrderMain:Customer_ID

OrderMain.db5 has a portal that looks up Customer name from Customer.db5 thru Customer# relationship.

This doesn't make much sense, and makes me think/guess that you've only define a CustomerID field in Orders by which yo see the related Customer record in Customers; however you haven't probably defined a CustomerName field in Orders and hence you cannot lookup this info in OderDetails, in which you must have passed the customerID using a lookup from Orders

So you can either

Create customer fields in Orders and lookup data in OrderDetails from Orders or - probably better - lookup up customer data in OrderDetails directly from Customers

HTH

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.