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 7496 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Hi, everyone.

I hope someone can help me with this. I have a database (names, addresses, cities, etc). In some cases I have only one name (first & last), and sometimes two (first & last, first2 & last2). I am trying to see if I could write a script so that records with two names would be printed twice, first in format "last, first" Return "last2, first2" and then "last2, first2" Return "SEE last, first". I hope I'm making myself clear. I have no idea if this is possible, though. If anyone has a hint, I'll be very grateful.

Many thanks!

Posted

What you are asking is quite simple BUT it looks odd to me so I wonder if you need to expand your requirements a bit?

You don't need a script. You just need a few calculation fields

Line1 = last & "," & first

Line2 = Case (isempty(Line3), "", Line3)

Line3 = Case (isempty(last2) and isempty(first2), "", last2 & "," & first2)

Line4 = Case (isempty(Line3), "", "SEE " & Line1)

Then a layout with -

Line1

Line2

Line3

Line4

all sliding up, will give you what you've described.

The logic in Line3 is up to you. Can you have a last2 without a first2 and so on?

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