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.

Search Results Problem??

Featured Replies

Hi there,

I am creating a page that displays four fields in List Format from a DB; (Date Logged, Log No., Problem & Status).

I would only like the four results displayed when the Status equals 'Open' and not where the Status equals 'Closed'.

I am using the following CDML below which seems to be working, however when the results are generated on the screen, it leaves a blank row for results where the Status equals 'Closed'.

Is there anyway to stop it from adding in the blank rows when the Status is 'Closed', as it becomes confusing to look at when there are lots of records and they span over multiple pages??

[FMP-record]

<TR>

<TD ALIGN=LEFT VALIGN=TOP width=25% CLASS=Text10>[FMP-If:Status.eq.Open][FMP-field: DATE IN][/FMP-If]</TD>

<TD ALIGN=LEFT VALIGN=TOP width=25% CLASS=Text10>[FMP-If:Status.eq.Open][FMP-field: Log No.][/FMP-If]</TD>

<TD ALIGN=LEFT VALIGN=TOP width=25% CLASS=Text10>[FMP-If:Status.eq.Open][FMP-field: PROBLEM][/FMP-If]</TD>

<TD ALIGN=LEFT VALIGN=TOP width=25% CLASS=Text10>[FMP-If:Status.eq.Open][FMP-field: Status][/FMP-If]</TD>

</TR>

[/FMP-record]

Thank you in advance for your help smile.gif

Try this:

[FMP-Record][FMP-If:Status.eq.Open]<TR>

<TD ALIGN=LEFT VALIGN=TOP width=25% CLASS=Text10>[FMP-field: DATE IN]</TD>

<TD ALIGN=LEFT VALIGN=TOP width=25% CLASS=Text10>[FMP-field: Log No.]</TD>

<TD ALIGN=LEFT VALIGN=TOP width=25% CLASS=Text10>[FMP-field: PROBLEM]</TD>

<TD ALIGN=LEFT VALIGN=TOP width=25% CLASS=Text10>[FMP-field: Status]</TD>

</TR>[/FMP-If]

[/FMP-record]

All the best.

Garry

  • Author

I think I was going a bit overboard with the [FMP-IF] Tags!

Thank you very much for your quick solution, it worked a treat! laugh.gif

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.