FlyingHorseman
Technical User
I am a newbie to ColdFusion and got an error message that was bugging me resolved on this very forum and I greatly appreciate that. On fixing that error, I am now, getting another error as there are a lot of CF scripts on the site that I am managing. The scripts used to work before (in ColdFusion 5) but, now, they seem to be cropping up errors, left, right and center.
I would definitely appreciate the help in resolving this error and am also wondering if there is any setting in ColdFusion 8 overall that would help me in minimising or eliminating these type of errors?
Code:
[b]Variable SR is undefined. [/b]
The error occurred in /u03/COMMON/Notices/premier/notices_summary.cfm: line 112
110 : <cfif #MakeDatabase.recordcount# EQ 0>
111 : <cfelse>
[b]112 : <CFOUTPUT Query="MakeDatabase" StartRow=#SR# MaxRows=#RecordsToDisplay#>[/b]
113 : <cfset TrimmedString = Trim(ID)>
114 : <cfset year = Year(#REPORT_DT#)>