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.

Variables in a show message command?

Featured Replies

Is it possible to show a value from a database field in the "Show Message" script command? Or, can you only have fixed text in these messages?

I would like to display a message like, "Are you sure you want to delete the record for 'Joe Smith'? " where "Joe Smith" is a field in the current record.

One really easy way is to get the Troi Dialog Plugin. It can do what you want and a lot more. See 'www.troi.com'. The FM Show message script command is pretty poor.

quote:

Originally posted by JimWashDC:

Is it possible to show a value from a database field in the "Show Message" script command? Or, can you only have fixed text in these messages?

I would like to display a message like, "Are you sure you want to delete the record for 'Joe Smith'? " where "Joe Smith" is a field in the current record.

If you're working on a Mac, AppleScript can solve the problem for you. If you subscribe to ISO FileMaker Magazine, I wrote an article on how to do exactly this in issue 48 or 49. If you don't subscribe, let me know, and I describe how it works. But also you might want to check it out, since I think it's the best FMP related periodical out there.

Chuck

  • Author

quote:

Originally posted by Chuck:

If you're working on a Mac, ...

Chuck

Much to my regret, I'm working on a Windows machine!

Thanks anyway.

quote:

Originally posted by JimWashDC:

Much to my regret, I'm working on a Windows machine!

Thanks anyway.

Use the Troi dialog plugin. Were good stuff.

------------------

=-=-=-=-=-=-=-=-=-=-=-=-=

Kurt Knippel

Consultant

Database Resources

mailto:[email protected]

http://www.database-resources.com

=-=-=-=-=-=-=-=-=-=-=-=-=

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.