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

Concatenated Fields relate to concatenated fields.


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

Recommended Posts

Posted

Hi,

I'm new to FMP development. Please excuse me if i have been overlooking something.

I have 2 database. First is Employee database with EmployeeID as key and another is Attendance database which contain fields EmployeeID, LogDate, LogTime, and others. I have created a field IDMonthYear (Text) in Attendance db which is set to 'EmployeeID & MonthName(LogDate) & Year(LogDate)' (text) thru a script.

On the other hand, i created a field IDMonthYear in Employee db which is set to 'EmployeeID & Month & Year' (text) where Month and Year fields are set thru pop-up list.

My objective is to relate the 2 db and create a portal inside Employee db which displays data per month and year (of each employee record) depending on user's choice.

I can seem to make the right data appear in the portal. Any help will be appreciated.

Posted

"... I have created a field IDMonthYear (Text) in Attendance db which is set to 'EmployeeID & MonthName(LogDate) & Year(LogDate)' (text) thru a script."

A calculated field would be better for this.

Posted

Hi Vaughan,

"A calculated field would be better for this."

I am apprehensive to make IDMonthYear field into a calculated field since i expect the Attendance db to grow in records rapidly (at least 5000 new records a day). I'm afraid effeciency of db will be affected. But anyway, i've tried it and i'm still having problem showing the right data in my portal.

Posted

hi Allan

Firstly, check the obvious. Are all fields in the portal using the same relationship as the portal itself?

Secondly, perhaps the year and/or month is slightly different on each side of the relationship, which would result in no records showing. For example, a 2-digit year vs a 4-digit year.

Thirdly, in the Employee db, make sure both Month and Year are globals otherwise the month & year set by the user will only be valid for the current record.

hope that helps.

cheers,

Wendy

Posted

Hi Wendy,

Thank you very much. I think i was standing too near to the tree. I have named the relationship almost the same as other relationship i have used (Attendance, Attendance 2) and i have some fields in the portal using a different relationship as the portal itself.

Guys, thanks again for all the time replying to my post.

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