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.

Deleting rows leaves button behind

Featured Replies

I'm a novice, and would love some help. In the attached file, I have portals for notes and documents in an applicant's record.

The button above the portal creates a new document record in the new document layout, and I have a 'save' or return button to return to that applicant's record.

A button over the portal row takes you to the related record of a document . the button is set to be invisible when the document primary key is empty

A delete button in the portal row deletes that portal row.

The problem is that when I delete a record the button remains (in an empty row) - when it is pressed, it takes you to an empty record, and then the back buttn doesn't work.

After navigating through different records and so on, the button disappears.

What have I done wrong? Can anyone help?

CLIENT REG.fmp12

Edited by Ben ECA

Try giving the portal a name and include a script step to refresh portal.  I don't quite know where in your file I'm suppose to see this happen.

1. I don't experience that problem.

2. But let's be sure we're clear on what you mean by "delete a record". When you delete a parent (Client) record?

When delete one of the Note or Document records? 

  • Author

I meant deleting a child (note, document) record. Oddly though, when I came back to it today it's no longer happening. Is it a case of switsh it off and back on again to solve problem?

Ben,

If you have Allow Create checked in the Parent>Child (portal) relationship, than any button in the portal row will appear in the last portal row. You can use the Hide When feature in the Inspector to hide the button if the Parent>Child::primaryID is empty.

hth,

Barbara

NA. 

If you look at the file provided - you will not that allow create is not turned on.

Ben: switch WHAT off/on?

I'm note seeing the OPs problem on my Mad.

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.