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.

Featured Replies

Hi

 

i created a database for a food manufacturing company, they need to be able to link the product with the company that ordered it with its ingredients and be able to link on e to another.

i created it that from the product you can select a value list of the company that ordered it ,  i created a relationship.

however every time i create a new product and assign it to a company a new company is created. i assigned automated id`s so i cant even link them together.

please help me

Not enough information... can you post some more details, screenshots, how the value list and the relationships are set up?

  • Author
24 minutes ago, H said:

 

24 minutes ago, H said:

 

 

1 minute ago, H said:

 

Are you getting my responses?

 

13 minutes ago, Wim Decorte said:

Not enough information... can you post some more details, screenshots, how the value list and the relationships are set up?

first time working in this forum, wondering whether you are seeing my screenshots

 

Can you upload your file?

  • Author
Just now, AnthonyDixon said:

Can you upload your file?

 

Rabbi_Usher_Eckstien.fmp12

you see my issue, i have the same ssue when i go into the ingredient tab on the product page, it creates a new ingredient even if i select one from the databasde

Says the file is damaged.  You should zip it first then attach

When you create a new record, you should script the process--entering of the customer name, id#, etc., and turn off the 'allow creation of records through via this relationship.  The way you are set up, on the products layout you can change the Customer name without any notice, destroying your data.

  • Author

hi, i am quite new to filemaker, can you guide me on how to script this

  • Author

Hi, please, i am still awaiting help on how to script up the process from linking my product back to my customer without creating a new customer when i select it from the value list, please can someone help me.

1 hour ago, H said:

Hi, please, i am still awaiting help on how to script up the process from linking my product back to my customer without creating a new customer when i select it from the value list, please can someone help me.

Here are things that you need and some HINTS.

Tables and Keys

  • Customer Table
    • Primary Key: CustomerID (Auto-enter get(uuid))
  • Product Table
    • Primary Key: ProductID (Auto-Enter get(uuid))
  • OrderLineItem
    • Primary Key: OrderLineItemID(Auto-Enter get(uuid))
    • Foreign Key: ProductID
    • Foreign Key: CustomerID

You need at least the above to accomplish what you need.

Please See Attached, Reworked File. I've put the example in the Order Line Item Tab on the Customer Form. Also a simple script to show creation of the related record.

Rabbi_Usher_Eckstien_Recovered.zip

Edited by GisMo

Please do no Double post

 I’ve deleted your duplicate post.

  • Author

Thanks, will review and let you know if this matter has been resolved

  • Author

Hi, just review the file you have reworked, however there is still the same issue, i see you made it that one can select a company in the product page however the company still duplicates, please let me know how i can fix this error as it is breaking my entie database

@H please tell me how to duplicate your issue in the reworked file. Tell me what layout and what task. 

Edited by GisMo

  • Author

on the product layout, when i create a new product and i select a company from the value list another company is created with the same name but different ID

Are you purchasing products from the company?

  • Author

oh i`m sorry you must of misunderstood, i wrote a mistake the customer is the one you manufactures the product

@H, please meet me in the forum Chat now. 

  • Author

it is a manufacturing database, i want to link the customer(the one creating the new food product) with the factory it is creating it in, with the ingredients the product is made up of

one customer, or rather company can manufacture many companies

sorry i am new to this, where is the forum chat?

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.