Page 1 of 1

PostPosted: Wed May 17, 2006 7:47 am
by Aoirthoir
(Great program..I really dig it and my boss is massively impressed)

Is there a way to change the order of entry of fields?

Thank you.

PostPosted: Wed May 17, 2006 9:13 am
by shannah
Hi Aoirthoir,

Thanks for the compliment on Dataface. In the current version 0.5.3 there is no way to change the order of the fields other than changing their order in the database. In the new version 0.6 you are able to specify the order using an order attribute in the fields.ini file. I was hoping to have this out a couple of days ago, but responsibilities have pushed the release back a bit. I still need to do some more testing and finalize a few things.

Best regards

Steve

PostPosted: Thu Aug 31, 2006 6:51 pm
by Aoirthoir
Ok I am sure I saw this somewhere, in .6 but not sure where. Are the fields able to be ordered now?

Also, I cant figure where I put the tabs information for relationships? Are these able to be ordered also? I thought they were.

Thanks

PostPosted: Thu Aug 31, 2006 8:54 pm
by shannah
Yes.

You can set the order of fields using the "order parameter in the fields.ini file.

eg
[field1]
order=2

[field2]
order=1

In this scenario field2 would be shown before field1.

To set the order of relationship tabs, you set the action:order attribute in the relationships.ini file

e.g.

[relationship1]
__sql__ = "select * from ..."
action: order=2 (there's not actually a space after the semi colon.. this is just to beat the smilies)

[relationship2]
__sql__ = "select * from ..."
action: order=1

In this case the relationship1 tab would be displayed after the relationship2 tab.

Best regards

Steve

PostPosted: Thu Aug 31, 2006 10:12 pm
by Aoirthoir
Thanks that did it. Greatly appreciated.