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.

Text field is not text field

Featured Replies

Hi all,

Please help, my student ID, which is a text field, X1234 for example. file maker seems to "not be" able to differentiate between X1234 and Y1234. when I input a class for ID X1234 it also display in Y1234's record. Appreciate any suggestions.

Thanks

It is difficult to tell without more information, but it looks like you are using special codes for creating your relationships. There are many discussions here on why it is best for you to use straightforward sequentially-assigned serial numbers for your primary keys, which then should be used for relationships.

Guessing here, I'd say the field in your related table is set up as a number field, and that forces the relationship to ignore the alpha character at the beginning.

But I'm only guessing.

David

  • Author

Hi David,

Thank you for the info, yes, the related field was set as number, it seems to have fixed the problem. however, do you think by keeping this format, student's ID = first letter of last name and 4 digits of the phone number. would make my data base to be vulnerable? Again, Thanks

Michael

Michael--

I strongly urge you NOT to use such a field in your relationships. You REALLY should set up your relationship on an automatically-generated unique serial number; there are boatloads of discussions here and in database design literature to explain why. To raise a simple problem:

Dan Brown - 212-555-1212 gets B1212

Dawn Bootblack - 617-425-1212 gets B1212

Now, which linked records belong to whom? You'll never know!

If, however, you have:

67943 - Dan Brown - 212-555-1212

143567 - Dawn Bootblack - 617-425-1212

there is no ambiguity.

Of course, on screen you can still show your users a calculated field (Left(LastName, 1) & Right(PhoneNum, 4)) on screen anywhere you like. Just don't use it for relationships.

David

  • Author

Thanks David, I did make the field unique, however the possibilities of having the same number keep popping up. If I were to add a field called primaryID and change the relation pointing to this field, so the other ID is now just an ID field. Do you think it will mess up the data base?

Edited by Guest

I don't see why there would be any problem, but I'm not known for my visionary abilities.

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.