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.

Create a set of Related Records via script

Featured Replies

  • Newbies

HI,

just as an introduction, I'm new in the FileMaker world.

Following Table Structure I wish to implement in FileMaker:

tblSalesHeader

ID Date Product Template Category (this includes a predefines set of Products, which will be defined on another Form)

1 01/01/2012 Soft Drinks

tblSalesLine

SalesHeaderID Price $ Product (coming from the above selected (Product Template Category)

1 1.07 Coca-Cola ...

1 1.05 Fanta ...

1 1.9 Sprite ...

...

tblProductTemplateCategory

ID CategoryName

1 Soft Drinks

tblProductTemplateCatLine

ProductTemplateCategoryID ProductID ...

1 Coca-Cola

1 Fanta

1 Sprite

...

What I want now is to find a way to pre-populate (via script I guess?) the SalesLine Records in accordance to the Product Template Category's Product Mapping (Coca-Cola, Fanta, Sprite...) resulting in three lines in my example.

Any Ideas how this could be achieved elegantly with FileMaker?

I'm using FileMaker Pro 12 Advanced.

Many thanks in advance!

here is a few tips:

http://www.filemakermagazine.com/videos/filemaker-fundamentals-creating-records.html

  • Author
  • Newbies

Hi,

thanks for your reply, what do you mean with a few tips?

I only see one statement, one reply and commercial Videos.

Did I miss something?

Thanks

There should be a video on the right hand side.

Hi user16671 and welcome to the forum.

In order to see this video, you have to be a subscriber to ISO FileMaker Magazine as the video is Subscribers only! it is worth the price of subscription to have access to the different videos available on this available on this site. You can however, watch the previews by clicking on that article option.

I would also recommend that you read About Creating Relator Records, Creating Scripts and Auto Fill in your User Manual.

Lee

  • Author
  • Newbies

Hi Lee,

many thanks!

I already bought the subscription yesterday (but waiting for activation) :laugh2: Once I review them I'll give it a try.

Regards

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.