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.

How do I accomplish the following...(screencap incl.)

Featured Replies

Here is a screen cap related to my question:

ibzzif.jpg

The Alphabet buttons are scripted to set a field to their respective character (ie. the A button sets "A"). When a button is clicked, it sets a field called CustomerJoin to its respective letter.

In my Customers table, I have a field calculation that determines the first letter of Customer Last Name.

I have a relationship set up between my customers table and this user interface table: Customer Last Name = CustomerJoin

The end result is: when I click on a letter, my portal shows me a list of all the customers in my table whose last name start with that letter.

Here's the problem: I want to start the portal out showing a full list of all the customer records in the Customer table. I am also thinking I will add another button (after the "Z" button) called "ALL".

How can I accomplish this? If there is a way to do it with my relationship, than I want to implement it that way.

Thank you in advance!

have another value for your global field (customerjoin?) that when clicked inserts "all" (i.e instead of "a" or "b" etc it's "all")

In your field which determines the first letter of the customer's last name, enter left(name;1) &"¶all"

If you want it to default everytime you go to the list layout, just change the "go to layout" or how ever you're navigating to this screen to a script which is "go to layout" + setfield customerjoin =all and then commit records.

  • Author

kiwiora:

this works! Thank you!

so can you explain to me the concept behind it? by adding that & (PAll) what did we do?

In laymens terms, by putting the ¶ you've inserted a line break. The relationship is then able to evaluate based on either line. Kind of an "or" relationship.

  • Author

I am designing my first solution to use the separation model and I've hit a wall.

I have two files: Data.fp7 and GUI.fp7

In the Data file, I have a table called Customer.

In my GUI file, I have designed a layout I want to be the interface for the system. See attached pic.

In the Customer menu, you can see I have a rolodex-style function that shows a list of all the customer records.

I want to be able to click on a customer portal row and have it show me that customer's information in the main portion of the layout. In the past, I would do this using GoToRelatedRecord.

However, when I attempted this, I get an error saying "Operation could not be completed because this layout cannot display the result."

Do I need to change the Show Data From: option in Layout Setup...? or...?

Any help is greatly appreciated!

mh3v4i.jpg

That error tells me that the field that you clicking on fpr the GTRR button are not assigned to the same location. Double check your relationship and the field that you are clicking on to to ensure that they are consistant to the GTRR command.

hope that helps....

Ron

Please do not double post your questions.

How about setting a global to the customer's ID when you click the portal row? Then, the fields on the right would use a relationship gCustID to Customer::ID.

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.