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.

Relationship of a Specific Repetition in other DB

Featured Replies

I CURRENTLY have a PRICE LIST DB that contains about 8 REPEATING fields {200 in EACH}.

With the 8th field named [sell Price] I am trying to setup a RELATIONSHIP to ANOTHER DB.

The REPETITION in the [sell Price ] field is 64, the value of that is "$50.00".

In the NEW DB i am setting up i have a field [Glue] which is the number of [sell Price] items in it, Then i have a CALCULATION field [Total Price].

After selecting the amount of items required in the [Glue] field i want to setup the [Total Price] Field CALC. to MULTIPLY that [Glue} value with the Specific value of the PRICE DB: {Sell Price].

EG.

If [Glue] field value was "3" then i want the [Total Price ]field to give a value of "$150.00".

Being: currentDB[Total Price] = currentDB[Glue] x relatedDB[sell Price].

I am a BIT new confused.gifto RELATIONSHIPS and RELATING Fields between DataBases.

How do i set the RELATIONSHIP, Do i Relate the [sell Price ] field to the [Glue] field OR the [Total Price] field?

What would the [Total Price] CALCULATION be :

??????????????? GetRepetition ( Sell Price, 64) * [Glue] ?????????????????

How do i get the SPECIFIC REPETITION of the field i am looking at ???

After RELATING the [sell Price] field in the OTHER DB to the [Glue] and/or [Total Price] fields, I tried a simple CALC. [Total Price]= [Glue] * PRICE LIST::[sell Price] BUT it did not give me anything, OR said it was making a CIRCULAR DEFINITION. frown.gif

Any assistance with this would be much appreciated.

Corey....

Another reason repeating fields are generally a bad idea.

I'd create a new, expanded price list file, with the same fields as the price list file, but no repeating fields (just make a clone, then set all the repeating fields to not repeat). Then import the data from the original price list file, splitting the repeating fields into separate records.

Now you can set up the relationship with this new file, and all your calculations should work.

  • Author

I 've removed all the repeating field and cahnged them to a cloned copy(renamed) so i have multiply fields alike, yet different.

But i am unable to get the RELATIONSHIP to work.

I even tried a LOOKUP on 1 x of the fields to have a value from the price list to be used, BUT it will not get the value either.

Am i doing something wrong?

Do i need to define a TRELATIONSHIP in eother DB, 1 looking at 2, and 2 looking at 1?

Reagrds

Corey....

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.