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.

Painful auto-enter calculation using global fields

Featured Replies

Following my last 2 posts from another thread ( CaptKurt Unique_ID , I wondered if there was an issue for this.

I want a record to be auto-entered using a global field in the calc string. I found that the method profuced unexpected results, except if the global was referenced from a relationship.

1. Is this a known problem ?

2. Is there a problem to involve such a method?

1. only with your specific database

2 not at all

recover your database. it's corrupted.

see attachment

ugo.zip

  • Author

******* right from wha I can see with a test I've just made with a new file. I'll check back the given file tonight. Strange, it's a totally new file, just created with some new templates, hardly no records except the auto-enter and the calc...

Thanks Christian. I prefer this answer...

- changed my post & did a test file myself just to check.

  • Author

Christian,

Thanks for your time.

I did a test on my file, recovered it. Works properly now.

Corruption confirmed.

Strange though that it worked when used with a constant relationship !

I had never used such a method first, but had the feeling it would have been useful. I was really stumped about why it wasn't working as expected.

Thanks again.

  • Author

Well,

It wasn't corrupted.

The calc was :

Right( "00000" & Status(Status (CurrentRecord), 4)) & global & ....

Sorry about the time lost on this.

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.