Displays output that can contain the results of processing ColdFusion variables and functions. Can loop over the results of a database query.
Questions tagged [cfoutput]
33 questions
1
vote
1 answer
Why is cfoutput being ignored?
I have a very simple CFML page as follows:
SELECT * FROM changemgmt.rfc WHERE rfc_id =

Michael Buckman
- 140
- 9
1
vote
1 answer
Bootstrap Modal INSIDE Coldfusion tags fails with "Invalid CFML construct"
The Bootstrap button and modal code below fails when the code is placed inside ColdFusion CFOUTPUT QUERY tags.
If I move the code outside of the cfoutput query then it works well.
Obviously, the problem is with the BootStrap modal single hashtag…

Wallace Beasley
- 41
- 6
1
vote
1 answer
Need help listing products in reverse order in old ColdFusion site
I have been tasked with re-ordering all the items displayed on a website with the newest products(highest number code) first. Currently they are listed in entry order. The codes will start with a single or a double letter and then be following by a…

Matt Arscott
- 11
- 1
1
vote
1 answer
count total records for each user
I have this code that pulls all users with open requests. I need to show a total for each assigned buyer.
SELECT *
FROM allorders3
WHERE open = 'y'
order by…

carlosl
- 11
- 1
1
vote
3 answers
Conditional CF Record Count
I'm trying to save my database server a few requests by querying a large number of items from several categories all at once, then using statements to filter those results into unique tables I'm showing for each category. I'm looking to…

MLynch
- 425
- 1
- 4
- 12
1
vote
3 answers
cfml variable inside cfoutput text
I'd like to resolve this problem. I have a variable:
">
and I have test.cfm with an amount of cfml code.
and I'm trying to make cfoutput like this:
#myvar#
I'd like that…

user1903894
- 169
- 1
- 1
- 6
1
vote
1 answer
Confusion on when to use cfoutput in cfmail
I am not 100% on when to use cfoutput and how cfoutput can be used in the following example. Should the whole cfmail be wrapped in a cfoutput?
Background: I have a function that sends an email based on an if statement. The message of the email has…

Denoteone
- 4,043
- 21
- 96
- 150
1
vote
3 answers
Remove characters in with ReplaceNoCase() ColdFusion
I need to display an output from a data record that is formatted similar to this: XXXX:12345 (Xxxxxxxxx)
However, the only data I want to output is the "12345" and with two preceding zeros, i.e. the output should look like "0012345". The "12345" in…

Cajun WebDev
- 35
- 6
1
vote
1 answer
define a list of id's for grouped item
i got a little question, i just can't understand, what is the problem and how do i solve it, i have a coldfusion variable, for example #account_code#, first of all, this code looks like this: 100.001.001 (there are bunch of them of cource) and i…

Bato Dor
- 841
- 3
- 11
- 33
0
votes
2 answers
LINQ to SQL grouping and passing onto a view
I am new to Asp.Net, MVC3, Linq, and everything else related to it. I'm very used to PHP and ColdFusion so pardon my ignorance! Essentially what I am trying to do is re-create the situation in ColdFusion where I can perform the equivalent of a…

Vince Ruppert
- 41
- 6
0
votes
0 answers
Coldfusion output string not defined
When I execute the code below, resources_gathered is a string, but I get the following error ('Rx222y280.....' is the string in the column resources_gathered):
visualize_resources.cfm?subject_id=395229:105 Uncaught ReferenceError:…

Bayley Sapara
- 45
- 4
0
votes
1 answer
cfoutput in cfset tag
I need to use a cfoutput in a cfset tag to get multiple line items to send in xml. I know it's wrong to put a CF tag into another, but I'm looking for the best way to do this. Thanks in advance.

Unohoo
- 27
- 1
- 6
0
votes
1 answer
Coldfusion set dynamic columns for query output
I am trying to set dynamic query column headers to get their values from a query.

ScrumMaster Guy
- 267
- 2
- 6
- 16
0
votes
0 answers
how to output an interval field in coldfusion
I have an interval field in a table for the timecard application. the field will calculate total work time of a user by using punch out time minus punch in time. I take a total of total work time in a week for a user and in my postgressql database…

Niva-L
- 73
- 2
- 8
0
votes
1 answer
Form.AutoEngineer not being recognized
so, I updated a lot in with this code from the casing, the hidden input field. I have not been able to change the validation or work on SQL Injections, but I am getting there. I am having 2 main problems and they both deal with elements not beinga…

SinceForever
- 232
- 1
- 2
- 12