by m23k » Thu Nov 01, 2012 10:12 am
1) Duh. I was being stupid/blind/delete as appropriate! How does this work with relationship lists though as I have fields from 2 different tables? If I try this it just orders all the relationship table fields first, then the tables from the 2nd table, in the order in each's fields.ini. I can't get some of the fields from the 2nd table to appear first, then the fields from the 1st/relationship table, and then the rest of the fields from table 2?
Edit: realised what I have explained is confusing. So an example:
I am on computer record X. I click on the 'person' relationship tab to show the person <-> computer relationships, linked via the computer_usage table.
Table: person
Fields: pid, firstname, surname, location
Table: computer_usage
Fields: cu_id, from_date, to_date, pid, cid
I want the relationship list fields to appear in this order:
person.firstname, person.secondname, computer_usage.from_date, computer_usage.to_date, person.location
They currently show as:
computer_usage.from_date, computer_usage.to_date, person.firstname, person.secondname, person.location
In computer_usage's fields.ini I have usage_from_date as order=3 and usage_to_date as order=4
In person's fields.ini I have I have firstname order=1 and surname order=2
It is reading the fields.ini because if I swap the numbers around and those fields swap around next to each other, but overall they still show as 3,4,1,2.
I guess the relationship list view doesn't look at these orders, does it look any where else for order though?
2) Done, cheers!