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, value-list mess

Featured Replies

  • Newbies

OK, probably a pretty easy situation for most of you, but I am at wits end! I have file A that contains products and file B that contains various documents that might be attached to these products (rebates, specs, reviews, etc).

I want it simple to attatch records from B to A, the easy solution appeared to be populating a value list from B for use in A. This works well! Documents can be added (up to five per product) and all goes well on that end.

I think, however, that there must be a better way that would be more elegant and robust. For example, if I change the name of a document in B, it does not propogate through A (I could do a script that would step through A manually changing every entry, but that seems a bit brutish and slow). Similarly, entries in A are not deleted when the document is removed from B.

I hope that I've made the situation and my hang-ups with it clear, because it seems that I am missing something that is right in front of my face... frown.gif. Any suggestions, pointers, hits with the clue-stick???

TIA!

Once a value is entered in a field, this value wouldn't change even if this value doesn't exist anymore. The only way to make it change is to use a lookup and a relookup to update the field.

One way I can think about is to number the Values in your File B, use a One to One relationship from A to B and a lookup field.

Example :

Relationships : OnetoOne (gHook::c_Hook) and Color (n_color#::n_color#)

File B : Colors

c_Hook (indexed =1)

n_Color# (1,2,3,...)

t_color (Red, Yellow, Black)

File A :Products

g_Hook : (global=1)

Product_ID : 1,2,3,4

Productdescription : Boat, Car, Bike, Plane

n_color# (value list - use values from file B (related records OnetoOne) - select n_color# and also at right t_color)

t_Color : (lookup from File A:n_color::FileB:n_color)

This way, the value list selected in n_color# will look like

1 Red

2 Yellow

3 Black

t_color will be populated by lookup according to the n_color# selected.

A relookup would update the values in all the file if you happen to change the colos in the File B.

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.