Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

case insensitive relational link problem


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

Recommended Posts

Posted

I want to create a relational link to a field in a table hosted on an Oracle server. I have read-only ODBC access to the Oracle database so cannot make a calculated lower-case field at that end to connect to, but the key field I'm using is an email address with unpredictably mixed-case characters. The relational link only works if the case matches for both fields so I appear to be stuck. Any helpful suggestions would be much appreciated.

Colin

Posted

Ouch. Still, I don't see that you have too many choices here. Try defining another relationship to the external table, using the x relational operator. This will enable you to retrieve a list of all the e-mail values in the table. Then you can get the correct version of your key value by:

Let ( [

listOfValues = List ( AllRecords::eMail ) ;

v = ValueCount ( Left ( listOfValues ; Position ( ¶ & listOfValues & ¶ ; ¶ & KeyValue & ¶ ; 1 ; 1 ) ) )

] ;

GetValue ( listOfValues ; v )

)

Posted

Actually, come to think of it:

FilterValues ( List ( AllRecords::eMail ) ; KeyValue )

is both simpler and (in case the eMail values are not unique) will return a multi-key of all permutations of KeyValue occurring in the table.

This topic is 5803 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.