Thanks Tim.  Events can be chosen from the current 'season' and the
coming 'season' so the date calc will not work as well as a manual
enter.  I have a 'global' field that hold the value of 1 on every
record what do I 'relate' it to, so that only the records marked with
an X (1) show up on the drop down list?

L J

2008/7/14 Tim Mansour <[EMAIL PROTECTED]>:
> 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]>
>

Reply via email to