Forum Moderators: open
I am attempting to redo the structure in a way that scales a little better for the user's needs, and to preserve the decade's worth of existing data.
Instead of structured queries we have these things called formulas and functions, and very poor documentation to go with them.
I want to SELECT 'value' FROM field.table WHERE field2.table = fieldX.table2 AND field3.table = fieldY.table2 AND field3.table = fieldZ.table2
I thought that the getField("table:field") function would work, but I get an error telling me I have a circular reference. It has been a long, frustrating day, but I don't see the circular reference, so I must not be understanding the function.
Anyone know FileMaker well enough to give me a hand?
WBF
On one of my many jaunts through G SERPs today I did come across a statement that FileMaker would be very frustrating to anyone familiar with Boolean logic and SQL. I can now attest to the accuracy of the statement.
Yes, this is certainly a bugared up mess created by someone that had little to no understanding of relational databases. No doubt about that. Most of the reports to be generated are annual. So, they set up a separate table for each year, which of course means that a new table and all of tis relationships and formulas/functions needs to be set up each year, pretty much from scratch. Further, there is virtualy no indexing in place.
So, I am in the process of converting to a more user friendly design.
Instead of:
table.year
widget
color
grade
value
amount
We will have:
table.widget
year
color
grade
value
amount
with the year indexed. Voila, one table good forever! (Of course, there are nearly a dozen similar tables set up:()
I know where I am, and I know where I am going. The roads between here and there are foggy, and neither the "User's Guide" or FM website offer much to illuminate the way. Was hoping someone hereabouts would have useful advice.
WBF