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.

Auto-enter calculation not working

Featured Replies

OK, I am completely mystified...

Tables 1 and 2 in my database are related by a field called sampleId (ie, table1::sampleID = Table2::sampleID). Each table also has the text field "patientID", which does not participate in the relationship. In Table1, both sampleID and patientID are entered manually.

Problem: In Table2, I would like to have patientID automatically update to be the value of patientID in the related record from Table1. Seems simple. In table2, I defined patientID to be an auto-enter calculation from this field in table1. However, the entry in table 2 stubbornly remains blank despite a non-empty field in table 1.

I tested the relationship between tables 1 & 2 by showing the contents of a field from table 1 in the layout of table 2, and this appears to be working fine. I think I defined the field correctly. I also tried tapping the side of the computer to see if that helps....

Any thoughts welcome

Marcel

Edited by Guest

If both tables have a patientID field then:

Try changing the table2 field[patientID] to [table1::patientID].

Corey....

An auto-enter calc that references a related table does not automatically update unless it's 'triggered'. There are a few events that will trigger, record creation and match field change come to mind.

I'm not sure what you're trying to accomplish, but if you give more information, we may be able to help.

Perhaps you could define the relationship to include PatientID = PatientID?

  • 1 month later...
  • Author

Changing the table2 field[patientID] to [table1::patientID] worked and seems to do what I need. Thank you.

Marcel

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.