NthSolCode()

<< Click to Display Table of Contents >>

Navigation:  Available Functions >

NthSolCode()

Syntax

NthSolCode( <SolicitationNumber> )

 

Purpose

To retrieve the code for the nth solicitation.

 

Parameters

<SolicitationNumber> is the unique number for the desired solicitation. Solicitation numbers are generated in ascending order by DonorQuest, starting from 1 and going up to 999.

 

Returns

The code entered for the specified solicitation. Solicitation codes are usually the same as the campaign stimulus codes, or at least related to them in some way.

 

Usage

On reports the NthSolCode() function can be used to retrieve the stimulus code for the nth solicitation in each donor's history.

 

Example

The following examples illustrate NthSolCode():

 

MEMO CODE

MEMO TEXT

S000001

02/01/2011; GOLF ; Last Follow-Up: 05/15/2011; Number Of Follow-Ups: 4

S000002

02/01/2012; CAPTL; Last Follow-Up: 04/20/2012; Number Of Follow-Ups: 2

 

 

CALL

RESULT

NthSolCode( 1 )

GOLF

NthSolCode( 2 )

CAPTL