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.

pull random record on a format page

Featured Replies

  • Newbies

I have a link to a format page:

FMPro?-db=Inventory&-lay=Detail&-format=search.html&-view

On the format page "search.html", I have a form to query the database.

I want to add a RANDOM record from a different database on the same format page "search.html" so I put an FMP-InlineAction code, but no data is displaying on the page.

[FMP-InlineAction: -DB=Specials, -findany] On special this week!

Manufacturer: [FMP-Field:Mfr] Model: [FMP-Field:Model]

Our Price: [FMP-Field:Our Price]

[/FMP-InlineAction]

This code is placed after the form to query the Inventory database.

Can anyone tell me what I am doing wrong and if it is possible to do this?

Thanks!

Karene

PS I did post a request for someone to help me implement this as a subcontractor, but I have not received any responses and I need to get this finished ASAP.

I think you will need to name a Layout, e.g.B)

[FMP-InlineAction: -DB=Specials, -lay=mylayout, -findany] On special this week!

Manufacturer: [FMP-Field:Mfr] Model: [FMP-Field:Model]

Our Price: [FMP-Field:Our Price]

[/FMP-InlineAction]

All the best.

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.