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.

Relationships broken due to case sensitivity

Featured Replies

I am noticing a problem with our orders database. The customer information in our orders database is pulled from the customers database throuh a relationship based on a concatenated field. The field is the first name, last name, and email address. It seems that the relationship doesn't work if the cases don't match.

How can I correct this? Do I need to change the language in the storage options to something other than English? ASCII?

Not sure about language, but you can force it so both sides o the relation are always lower-case (or upper if you want) then there shouldn't be a problem.

It depends upon how you have your indexing set. ASCII indexing has seperate codes for upper and lower case characters and so you get a mismatch, or maybe I have it the other way around and it is the English indexing that has seperate codes.

Try the other one, but really the best solution is to set you keys such that they are all upper or all lower, or match the case.

Why not have a serial number for every client? Content can change (in this case, e-mail address could change). Serial numbers are guaranteed to be unique and they will never change, so you never have to worry about losing links between records.

If you are using the concatenated field because you want to select customers from a list... there are other ways to do this (use two relationships, one following the other).

--

Jason Wood

HeyWoody.com

  • Author

They do have serial numbers.

Every day we import the customers/orders from an online database. So if a customer returns, how do we do a match update based on a serial number?

They must have a serial number on the other database, use it in yours for the key field.

  • 2 months later...
  • Author

I may end up doing something like this. But currently, they don't have serial numbers in the online MySQL database. Well, not numbers that can be used this way. The reason is that online customers don't have an account on our site, so if they return, they would be assigned a new serial number. We may end up making an account login on our site.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.