Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4201 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

 

 

This topic is 4201 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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