Reference attribute

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
vinsnash
Posts: 415
Joined: Sun Oct 07, 2007 4:58 pm

Reference attribute

Post by vinsnash »

I've added an Event object that has an attribute Event.EndDate. I've added an attribute "Event" to the Member object that is type "Event". When I display the Member form the existing Events show nicely in the window for selection.

Can I limit what events that show with a rule. There is an expiration date in the Member object, "Member.ExpireDate". I'd like to limit Event choices to those with Event.EndDate > Member.ExpireDate.

I tried using a read protect rule

If Member.ExpireDate < Event.EndDate READ PROTECT Event from Unit. Unit being the access level in play at the time. That doesn't work.

Thanks for any help.
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

vinsnash,

In the Member's Events attribute, click on Presentation. I'm assuming you display it as a Table of Items. In the lower right of the Presentation screen, in the Filter area you can specify how to filter the displayed items.

Assuming Member is part of the SystemUser group, you can specify

Event.EndDate > LoggedInMember.ExpireDate.
Tom - V8.8 build 3137 - MySql / PostGres
NaWensheng
Posts: 15
Joined: Thu Mar 19, 2009 4:39 pm

Post by NaWensheng »

I am somewhat late getting back on this but it worked just fine. Thank you so much.
Post Reply