On 15/07/2008, at 12:42 pm, Loretta James wrote:
I want to populate a value list with only Current Events, marked on
the Event record with a 1 to "Show in Report Lists". This is to avoid
having Past Events on Drop Down Lists.
Is that Show field input by the user, or calculated? To weed out past
events, I'd be simply basing a relationship on the event date:
1. Create an unstored calculated field to hold today's date (eg,
"zz__Today") using the formula
= Get ( CurrentDate )
You can also just create a global and populate it with today's date in
a startup or layout script.
2. Create a relationship to show all events on or after today,
relating the fields like so:
EventDateField >= zz__Today
If on the other hand you do need to allow users to manually select
which events appear, and your Show field contains a 1, then simply
create a global field with a value of 1 instead of a date. Then your
relationship will look like:
ShowInReportLists = zz__Match1
--
Tim Mansour <[EMAIL PROTECTED]>