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

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

Recommended Posts

Posted

Hey,

A lot of people recommend to make key fields numeric fields to avoid problems when it comes to searching. (As searching 123 in a text field returns 123, but also 1230, 1231,...)

Both my primary and my foreign keys are numeric fields and look like PER00001 or LOC00035. When I take the value from such a primary key and put it into a foreign key field somewhere else using a variable, Filemaker cuts LOC00035 down to 35. Changing the settings on a layout for a numeric field doesn’t help.

When the foreign key is a text field, this doesn’t happen. Also, when I use copy and paste script steps, LOC00035 stays LOC00035.

So, I’m about to change my key fields from numeric into text.

Does anybody know of unwanted side effects when it comes to setting the type of key fields as text?

Thanks, Mike

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