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.

InLineAction and Delete

Featured Replies

IMHO - you are not passing any valid information for the delete. Get the record number from search or something, and then delete.

Also -- does Web Security db allow delete?

Yes, Web Security db allows delete. I guess I'm confused because the results file that contains the inlineaction is a result of a search for a specific file. The [FMP-CurrentRecID] tag works outside of the inlineaction tag but it will not work inside of it. I've even tried carrying the record ID value to the inlineaction via token, from one inline (-find) to another (-delete) and while the -find inline works fine, the -delete one doesn't, even when they are nested or on the same level.

At any rate, thanks for replying.

I have a database in which after a user does a successful find, the results page contains the following code:

Code:

[FMP-InlineAction: -db={FMP-CurrentDatabase}, -lay={FMP-CurrentLayout}, -format{FMP-CurrentFormat}, -recid={FMP-CurrentRecID}, -delete] [/FMP-InlineAction]

Can anyone tell me why this code, and about 1,000 other variations of it I've tried do not work. I can take the same code and change it to a find, pointing to a specific field and it will work, or I can hard code it and it will work (delete), but it will not work otherwise. The most consistant error I get is -1

Any help or advise would be greatly appreciated, thanks

I don't know if this helps but I have found that web companion and fmpro 5 have a problem with delete over the web. After a few it just stops working. You get the results page and you think everything has worked fine but you look in the database and nothing has been deleted. Stop fmpro 5 and try the same link again and it will delete the file, but after a few it will go back to not deleting. I have had to resort to using viewable as a field and just editing the record to switch that from yes or no. Then adding viewable=yes into all my search criteria.

Simon

  • Author

I did not found problem with delete in FM 5 Unlimited.

What version are you using?

  • 1 year later...

-format={fmp.....

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.