Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Deleting rows leaves button behind


This topic is 2646 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

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
Posted

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.

Posted

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? 

Posted

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?

Posted

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

Posted

NA. 

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

Ben: switch WHAT off/on?

This topic is 2646 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.