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.

Displaying Wrong Calculation

Featured Replies

  • Newbies

I am experiencing a maddening problem. I have written a calculation in my database based on CurrentRecordNumber. I am taking data from records and having it display in a 5 X x HTML table. Record 1, goes in cell one, and so on. Obviously the first table cell opens the row, the last closes the row so I must know the position.

My calculation works great adn gives me the right value, however when it is passed through web companion it displays the value as if I had found "all" records. For example my database show the calculated value as "1" after finding the right set and sorting them, however the web page displays "2", the value for the record if I'd done a findall. Anyone experience this problem or know a way to get the actual unstored calculated value to be passed. I already have it set to compute the value as necessary, it isn't stored.

[ March 03, 2002, 09:53 AM: Message edited by: rsklenar ]

"My calculation works great adn gives me the right value, however when it is passed through web companion it displays the value as if I had found "all" records."

Perhaps there is a reason for this. When your calc. is "passed through" wc have you then checked your db to see what search criteria you are entering from your format file in order to perform the find?

  • Author
  • Newbies

Yes, I've checked that, I've watched the found set show up the FMP layout, it reads 1 the page reads 2.

I found a work around for now, but it's still annoying.

You may want to consider using CurrentRecID instead of CurrentRecNum. RecID is an absolute address whereas RecNum is relative to the found set.

Hope this helps.

Garry

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

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.