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.

Featured Replies

hi newbie here.

I am creating a solution for my optometry practice. I have a layout which has all the visit data. Prescription, vision, ect. I would like to have a Last visit field which auto-enters the last visit. should I use the getnthrecord function? or is there another way to display this?

-Kevin

Do you have your visits stored as one record per visit in a Visits table related to the Patients table? If this is your design, GetNthRecord isn't the best choice since it looks at the found set of records. What you want to do is look at the records related to a Patient record and pick the latest one. You could use the Last or Max function in an auto-enter calculation or a regular calculation depending on what you want.

  • Author

yes, visits table related to patient table. Each record is a visit.

How would last or max work? once i create a new visit for a given patient, i'm actually looking for the second from last record. How do I look for only records which match the px_id? Aren't we really getting back to establishing a foundset, and looking at a specific field within the foundset?

-kevin

Edited by Guest

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.