Advertisement

08.01.2008 at 09:23AM PDT, ID: 23614658
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

5.2

Coldfusion Error Message with RECORDCOUNT

Asked by Rajolu in ColdFusion Studio, ColdFusion Application Server, Cold Fusion Markup Language

Tags:

Hi, I'm getting the following error messge. in the coldfusion application.
-----------------------------------------------------------------------------------
Element STATUSCODE is undefined in GET_USER_VENDORS.    
The error occurred in C:\Inetpub\wwwroot\POL\vendor_list\old_prod_vendor_list.cfm: line 62
60 :
61 : <CFOUTPUT>
62 : <cfif Get_User_Vendors.statusCode GT "0">
-----------------------------------------------------------------------------------
This code is working for all these days, but is giving this error recently. This error is coming when there are no records returned from the query, if there are any records it is not throwing any error. The full code is attached.. Any help is appreciated.

Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
<cfif session.User_RoleID eq 1 or session.User_RoleID eq 3 or session.User_RoleID eq 7 or session.User_RoleID eq 11>
		<center>
			<br><img src="../images/h_vendor_list.gif" alt="" width="164" height="31" border="0"><br><br>
			<!--- get all vendors for the user --->
<CFOUTPUT>
<cfstoredproc procedure="POL_LIST_VENDORS_ASSIGNEDTO_AP_USER_PROD" datasource="#application.datasource#">
	<cfprocparam type="In" cfsqltype="CF_SQL_VARCHAR" dbvarname="USER_ID" value="#session.User_ID#" null="No">
	<cfprocparam type="In" cfsqltype="CF_SQL_VARCHAR" dbvarname="sortby" value="#session.sortby#" null="No">
	<cfprocresult name="Get_User_Vendors" resultset="1">
	<!---cfprocresult name="RS2" resultset="2"--->
</cfstoredproc>
</CFOUTPUT>
 
<cfif Get_User_Vendors.RecordCount GT "0">
<table cellSpacing="2" cellPadding="2" border="0" align="center" width="800"><tr><td align="left" class="body-small" bgcolor=white valign="top">Total <cfoutput>#Get_User_Vendors.RecordCount#</cfoutput> vendor(s) found.</div></td></tr></table>
					<table cellSpacing="2" bgcolor="d3d3d3" cellPadding="2" border="0" align="center" width="800">
					<tr>
						<td align="center" class="body-small-bold" valign="top"><a href="old_prod_vendor_list.cfm?sortby=a.vendor_name"><font class='body-small-bold'>Vendor Name</font></a></td>
						<td align="center" class="body-small-bold"valign="top"><a href="old_prod_vendor_list.cfm?sortby=a.VENDOR_TYPE_DESC_SHORT"><font class='body-small-bold'>Vendor Type</font></a></td>
						<td align="center" class="body-small-bold"valign="top"><a href="old_prod_vendor_list.cfm?sortby=c.TOTAL_PENDING_INVOICES"><font class='body-small-bold'>Total Number of Exceptions</font></a></td>
						<td align="center" class="body-small-bold" valign="top"><a href="old_prod_vendor_list.cfm?sortby=b.TOTAL_PENDING_AMOUNT"><font class='body-small-bold'>Total Amount Pending</font></a></td>
						<td align="center" class="body-small-bold" valign="top">&nbsp;</td>
					</tr> 
 
<cfoutput query="Get_User_Vendors" group="vendor_number">
<!---					<cfloop query="Get_User_Vendors">--->
						<cfif Get_User_Vendors.TOTAL_PENDING_INVOICES NEQ "0">
					 	<tr bgcolor="white">
							<td class="body-small" nowrap>
								<a href="../invoice_list/invoice_list.cfm?Vendor_Number=#Trim(Get_User_Vendors.VENDOR_NUMBER)#&Vendor_Type=#Trim(Get_User_Vendors.POL_VENDOR_TYPE)#&Total_Invoices=#Get_User_Vendors.TOTAL_PENDING_INVOICES#&Total_Amount=#Trim(Get_User_Vendors.TOTAL_PENDING_AMOUNT)#"><b>#Get_User_Vendors.VENDOR_NAME#</b></a> (#Get_User_Vendors.VENDOR_NUMBER#)
							</td>
							<td nowrap class="body-small"> #Get_User_Vendors.VENDOR_TYPE_DESC_SHORT#</td>
							<td align="center" class="body-small"> #Get_User_Vendors.TOTAL_PENDING_INVOICES# </td>
							<td align="right" class="body-small"> #DollarFormat(Get_User_Vendors.TOTAL_PENDING_AMOUNT)# </td>
							<td align="right" class="body-small">
							<CFIF #Get_User_Vendors.processed_flag# EQ 1><font class=error>R</font><CFELSE>&nbsp;</CFIF>
							</td>
 						</tr>
						</cfif>
					</cfoutput>
				</table>
 				<cfelse>
					<font color="gray"><i>You do not have any vendors assigned to you.<br>Contact the administrator to add vendors.</i>
				</cfif>
 
		</center>
	</cfif>
</td>
</tr>
</table>
<!--- ---------------------- --->
<!--- --  Footer include  -- --->
<!--- ---------------------- --->
<cfinclude template="../includes/footer.cfm">
[+][-]08.01.2008 at 09:35AM PDT, ID: 22139847

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.01.2008 at 09:44AM PDT, ID: 22139911

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.01.2008 at 12:02PM PDT, ID: 22141035

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.01.2008 at 12:16PM PDT, ID: 22141142

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]08.01.2008 at 01:49PM PDT, ID: 22141847

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]08.04.2008 at 07:01AM PDT, ID: 22152464

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.04.2008 at 07:05AM PDT, ID: 22152503

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.04.2008 at 07:52AM PDT, ID: 22152910

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.04.2008 at 07:54AM PDT, ID: 22152935

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.04.2008 at 08:18AM PDT, ID: 22153152

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.04.2008 at 08:19AM PDT, ID: 22153164

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.04.2008 at 08:45AM PDT, ID: 22153387

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.04.2008 at 11:23AM PDT, ID: 22154715

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.04.2008 at 12:46PM PDT, ID: 22155470

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.05.2008 at 02:01PM PDT, ID: 22165153

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.05.2008 at 02:13PM PDT, ID: 22165234

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.06.2008 at 03:02AM PDT, ID: 22168532

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]08.06.2008 at 03:02AM PDT, ID: 22168533

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]08.06.2008 at 08:37AM PDT, ID: 22171430

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: ColdFusion Studio, ColdFusion Application Server, Cold Fusion Markup Language
Tags: Element RECORDCOUNT is undefined in GET_USER_VENDORS
Sign Up Now!
Solution Provided By: rob_lorentz
Participating Experts: 3
Solution Grade: A
 
 
[+][-]08.09.2008 at 07:38AM PDT, ID: 22196418

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]08.11.2008 at 09:30AM PDT, ID: 22205812

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.11.2008 at 09:43AM PDT, ID: 22205938

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.11.2008 at 03:06PM PDT, ID: 22208700

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628