Seating book to include Constituent codes

Hello

I would like to pull a seating book report for a concert to see who is attending that event, so I'd like it to list Constituent codes so I can identify donors/people of note.

I can't seem to find a way to include Const codes in this way either in this report or through an Output Set.

Does anyone have any genius ideas?

Thanks, Alison

 

Parents Reply Children
  • Hi Alison

    OK. For use in an Output set, we did the following:

    1.In the TR_QUERY_ELEMENT system table, add a new row

    2.Enter the following:

    Description: Customer Constituencies

    Category: Constituent

    Data Select: impresario.dbo.FS_CONST_STRING(customer_no)

    Data From: T_CUSTOMER

    Data Where: *leave blank*

    Control Group: Add to a control group if you like

    Single Row: Ticked

     

    You should then be able to use this as criteria when building your output set.

     

    Here is a very simple select to show you how to use this function in a report:

    select customer_no, 'const' = dbo.fs_const_string(customer_no)

    from t_customer (nolock)

    where customer_no=10194857

     

    Output reads: 10194857    DDS,VOL

     

    You should be able to slot this into a custom seating book to get the output you need.

    I hope that helps

    Siobhan

  • That's great - thanks, Siobhan. I'll have a go with this and see how I get on.

    Cheers

    Alison