Adobe Community
All community
This category
This board
Knowledge base
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results forÂ
ShowÂ
 onlyÂ
|
Search instead forÂ
Did you mean:Â
Global community
Language:
Deutsch
English
Español
Français
Português
日本語コミュニティ
Dedicated community for Japanese speakers
í•œêµ ì»¤ë®¤ë‹ˆí‹°
Dedicated community for Korean speakers
Sign In
Exit
Home
ColdFusion
Discussions
check return var
Home
ColdFusion
Discussions
check return var
0
Upvote
check return var
nick_endgame
Explorer
,
/t5/coldfusion-discussions/check-return-var/td-p/1057440
Oct 17, 2006
Oct 17, 2006
Copy link to clipboard
Copied
Hi,
How can I check whether a query from a CFC has returned anything without outputting the returnvariable?
i.e.: <cfif returnvariable EQ "">
<cfset varValue = "empty">
<cfelse>
<cfset varValue = 1>
</cfif>
Thanks.
TOPICS
Advanced techniques
Views
219
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
2 Replies
2
Jump to latest reply
Newsgroup_User
LEGEND
,
/t5/coldfusion-discussions/check-return-var/m-p/1057441#M95192
Oct 17, 2006
Oct 17, 2006
Copy link to clipboard
Copied
cfdump the variable
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Dan_Bracuk
LEGEND
,
/t5/coldfusion-discussions/check-return-var/m-p/1057442#M95193
Oct 17, 2006
Oct 17, 2006
Copy link to clipboard
Copied
LATEST
with the recordcount variable that comes with cfquery.
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Post Reply
Preview
Exit Preview
never-displayed
You must be signed in to add attachments
never-displayed
Â
Resources
Documentation
ColdFusion User Guide