Helpful Information
 
 
Category: ColdFusion
Can somebody double check me?

Hi guys,

I wanted to know if this code was right:

<cfif #qWSum.recordCount# EQ 0>
<td class="qData2" colspan="2"><strong>Table is Empty. No records found!</strong></td>
<cfelse>
<cfif #wSum# LT #wConst#>
<td class="qData2"><strong>#wSum#</strong></td><td class="qData2">#WYSEDiff#</td>
<cfelse>
<td class="qData"><strong>#wSum#</strong></td><td class="qData">#WYSEDiff#</td>
</cfif>
</cfif>
I have a query by that name qWSum and wanted to know if that qWSum.recordCount was correct or not. Thanks a bunch!

OH! And congrats on the "new" forum (I've been away for a while) I really like it!

Assuming it is not case-sensitive, yes, that's right.

http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-b19.htm

Thanks!

Also, I was wondering if I could get some help. I'm not completely new to ColdFusion or PHP, but, I was wondering if I could get some pointers as to how to create a self-validating page (passing data to the same page), I'm still not sure on how I would go about that. Could I get some pointers and examples?

form action to self, then check to see if it is set or not and either echo the form or what not if it isnt and if it is execute code


<?php
if (isset($_GET['name'])) {
do this;
}else{
echo "form";
}
?>










privacy (GDPR)