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.

Performing a find when updating records

Featured Replies

Hey All,

Is it possible to perform a find when submitting a form that is updating records so that the results page includes a found set of records?

In other words, I have a site that when a record is updated, I want to have a summary of all records related to that one record returned, rather than having a results page returned and then having to have the user click a link to generate the summary page.

If so, how would you go about it?

Thanks.

You can probably do this, when on next -format page will be just blank page with find link in Refresh Meta tag.

You can use an InLine action in the format page returned by the edit action. This works for me.

All the best.

Garry

  • Author

Garry,

Thanks but can you exand on this a bit? I don't quite fully understand the Inline action and this would be a good situation to understand it.

Thanks.

skuli,

Here is an example using an InLine Action to construct an option list:

<td><select name="item_id">

[FMP-InlineAction: -db=rmr_prices.fp5, -lay=allfields, -findall][FMP-Record]

<option value="[FMP-Field:item_id]">[FMP-Field:item_name]</option>

[/FMP-Record][/FMP-InlineAction]

</select></td>

So your code would be in the Format file called by the update (-edit).

Garry

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.