A Number is Required Error

Printed From: Crystal Reports Book — Forum Name: Technical Questions

I have a very simple report going and created a formula as follows:

If {PD.SeqNumber} = '1'
Then
{PD.Code}

The {PD.SeqNumber}field IS a Number field, but I keep getting "A Number is required here" highlighting my '1'.

What am I doing wrong here?   

Using SAP Crystal Reports 2013 Support Pack 7
Version 14.1.7.1853

Edited by BoltzGirl - 24 May 2017 at 11:49am
remove your quotes from around the 1. When you add the quotes it is reading it as a string not an integer

If {PD.SeqNumber} = 1
Then
{PD.Code}
DBlank - thank you so much for reminding me of this! I totally forgot and should have just taken a break from it!    Thanks again, it worked like a gem!