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.

Value list that displays calculated field

Featured Replies

Hello,

I have a database to record data entry errors.  In the "Log" table the user selects the transgressor from a value list "staff" that pulls from a field called "StaffID" in a table called "Staff".  I would like the values displayed to be from a second field- "Staff::Username".  Unfortunately, "Username" is a calculated field -

Right(Users::LoginID;Length(Users::LoginID) - Position(Users::LoginID;"";Length(Users::LoginID);-1))

 

"Users" is a external SQL database.  The values of LoginID read like

DOMAINNAMEUsername

so the calculation is to trim off the domain name and the slash.  If I try to create the desired value list, when I specify the fields for it, I select "Staff::StaffID" for the first field and "Staff::Username" for the 2nd (displayed) field.  When I do that, I get this:

 

This value list will not work because the field "Username" cannot be indexed.  Proceed anyway?

 

And the value list doesn't work.  Am I missing something?  I'm sure there is a better (working) way to do this.

 

 

Not sure if this is relevant, but the key field of a child table must be able to be indexed.

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.