Skip 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.

Trying to find the Auto Entry auto Re-adjust calc sample

Featured Replies

Hi all,

I am trying to find a post or blog on here or their site, where they posted a sample of a simple calc where the user could type in any field and it would recalc the other two fields.

It was a very simple example where it was something like A + B = C, where the user could change any of the fields and it the other two fields would readjust. It is NOT the sample on Mikhael's site.

I know that I could write the auto-entry myself but at this point its the point of me not being able to find the darn thing that is driving me nuts. Any ideas where the heck I saw this?

Thanks.

:hammer:

Do you mean this one? Who's they?

  • Author

HAHA... Thanks Michael but no not that one obviously. :

There was another sample similar prior to that thread months ago. I cant remember where it was that I saw it. Arghhh... Thanks anyway.

  • Author

Ok I tried looking for it and gave up. It was a technique blog or something that I saw a while ago. Oh well.

Anyway, I was trying to work on something as such.

A + B = C, however when C is manually entered, A and B gets cleared. Any thoughts? I tried to use a variable to only trigger when needed but it doesnt seem to want to clear.

Well, if you're willing to hardcode the field name into the calc, you could do it this way.

If not, I think it may be possible to do it by declaring a variable, along the lines suggested here, but I am not sure.

AutoSum2.fp7.zip

  • Author

Well I was hoping to get away from hard coding the name. The method that you posted in your sample file using Get (ActiveFieldName) is close the way I handle it now. I wanted to use variables but I couldn't get it to work using them. I tried incorporating both your method in the autosum file as well as the modified Mikhail method, by Alex_Z using variables.

But no luck I can get them to calculate properly in all directions but I cant get the first two fields to clear when entering a value into the third.

I guess I will have to settle for leaving it hard coded. That is why I was looking for that other thread or post so badly. I was pretty sure that it was close to what I was looking for and had hoped to find it just to be sure.

Edited by Guest

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.