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.

Portal on a splash screen

Featured Replies

I'd like to create a splash screen to open my database. It would have two buttons to navigate to other files -- that's easy.

I'd also like to have a portal displaying all records from one of those files. I seemingly need a relationship between the spash screen file and the target file but am not sure how to create one that will let me view all the records by a particular field since there is no inherent relationship and the spash screen will always be just one record. It must be easy but I am missing it in the moment.

Merkaba:

Create a number field in your splash screen file, enter a "1" into it. Create a number field in your other file, auto-enter "1", non-modifiable. Write a simple script to loop through your existing records in that file and SetField [yournew field, "1"]. Now you can create a relationship using those two fields, and all the records in the second db will be visible from your splash file.

-Stanley

  • Author

Sounds very interesting and I think I can use this concept in various ways:)

I put together this script:

Show all records

Loop

Set field: "WGS Number Field, 1"

End Loop

Exit Script

But it only puts "1" in the current browsed record and then gets stuck ...

What am I missing here?

You can achieve what Stanley suggests even more simply: in both files, define a calculation field, constant1 = 1 (result is number). Then the relationship is constant1 = constant1 and you're done.

  • Author

Fantastic -- works like charm!!!!:::):)

Merkaba:

You nearly had it; before your Loop [] statement you needed Go To Record [first], and before your End Loop [] statement, you needed "Go To Record [next, exit after last]. But, of course, Comment had the cleaner suggestion, which works better, so it's all moot.

-Stanley

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.