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.

automatic definition of number of variables

Featured Replies

hopefully I can explain myself.... I was wondering if there is a way to define a number of variables (or number of rows for a portal) based on a result from a field?: I'm working on a database for a m anufacturing sales department and need to set it up so they are force to give a description of an item based on the number of items that they say they are going to sell. (i.e. if they say that we need to cut 5 sinks cutouts for a house, then I need to force them to give model and dimentions informations for each of the 5 sinks. makes sense?:) the number of rows in a portal that specifies the sinks will depend

entirely of the number of holes we have to make.....can this be done?:

No. However, you can force them by checking that you have 5, or however many, sets of descriptive info.

The only way i can think of to do this is to have five different relationships, with 5 different portals.

Say the original key fields for your relationship are PrimaryKey and ForeignKey. Create a new field in the parent database called PrimaryKeyNumber which is equal to ( PrimaryKey & "|" & NumberOfItemsTheyAreGoingToSell ). Create five new fields in the child database equal to ( ForeignKey & "|1" ) , ( ForeignKey & "|2" ) , ...

Now create relationships from PrimaryKeyNumber to each of the five new fields. If you base portals off of them, setting each to the appropriate number of lines, then the number of portal lines available will always be equal to the number they enter in NumberOfItemsTheyAreGoingToSell. You can either line these portals up going down the page, or you can make a new layout for each portal. But please note that you cannot stack them on top of each other! (Would that it were...)

Jerry

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.