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.

Change dates for all records at once

Featured Replies

I'm stumped on coming up with a way to change the dates in 2 global variable tables.

Table1 has fields called gStartDate and gEndDate

These 2 fields help define the range of records I want to relate to from Table2 and Table3. That's not where the problem is. That's working fine.

I want Table4 to hold the user entered variables to define the various reports and layouts, etc. I want to be able to enter a date in a field in Table4 -- Table4::StartDate -- and have that date go through to all the records in Table1 and populate (?) Table1::gStartDate.

Now, I can go into the tables and change the values of the global variables but I really don't want my users to.

I've tried everything I can to get the value of Table1::gStartDate = Table4::StartDate to no avail. I've tried calculations, look ups and I don't know what else.

Any ideas? Have I made my problem clear?

Thanks

Christopher

Have I made my problem clear?

Not really. If gStartDate and gEndDate are global fields, their values only need to be changed once (a global field has the same value for all records in the table).

If you want to move the start/end values to another table, you can change gStartDate and gEndDate to unstored calculations, e.g. cStartDate = Table4::StartDate. However, this will require a relationship between Tables 1 and 4.

It's not quite clear why you need to do this, when global fields can be accessed from any table/layout, without a relationship.

  • Author

comment

:yay:

:worship:

You did it again. Now that I know the answer I feel my question should qualify for the dumbest question of the day award. I knew it was easy.

You're right. there's no reason for the relationship between Table1 and Table4. (at this point) I just put the global fields in the layout I wanted and it's working great. super. thanks again.

Christopher

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.