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.

View most current record only?

Featured Replies

This seems like it should be easy (and it probably is) but...

How do you have your resulting CDML page only show the most current record in the database?

By most current, I mean (ex. 1 of 33), record 33 would be shown. The next day it would be 34 and so on. My database has a new entry per day, and only the newest needs to be viewable on the web.

Thanks in advance....

  • Author

Found it!

-skip, all

Sorry for the post.

  • 2 weeks later...

or have the first "-sortfield" be the field that autoenter's the creation date (if you don't have one made, I suggest you make one anyway for good form, you may end up needing one later)

  • 2 weeks later...

Well spotted drdigital9, I didn't know about the "all" value in -skip.

From the CDML reference: "If the (skip) value is greater than the number of records in the found set or the value is "All" then the last record is displayed."

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.