How do you get ColdFusion to export to MS Word? I used the CFCONTENT tag as follows, but that does not work for me.
<cfcontent type="application/msword" >
also tried
<cfcontent type="application/vnd.ms-word" >
Neither work. Any advice?
ColdFusion MX does not appear to support drill down on graphs at the data bar or pie slice level (whereas ColdFusion 5 did). Is this feature really gone?!! If so, does anybody have any suggestions for how to produce dynamic drill down graphs?
The error message seems to suggest that you have not assigned a value to the variables AGCY_AGENT_CODE. Is this really a variable, or is it the name of a column in your table? The syntax in the SUBSTR command is probably wrong. Try this if AGCY_AGENT_CODE is actually a column name
select...
I have an Oracle stored procedure that returns a result set. It works fine in SQL+, but I am having trouble with the syntax in ColdFusion. I keep getting an error WRONG NUMBER OR TYPE OF PARAMETERS. Does anybody have any examples of CF code that actually works?
Does anyone have any ideas of how to resolve a '500 Internal Server Error' related to using CFX_ZIP on a Cold Fusion server. The error is being generated when one scheduled task creates a zip file of the inetpub/wwwroot directory and all subdirectories on a CF server.
When this was tested on...
Does anyone have any ideas of how to resolve a '500 Internal Server Error' related to using CFX_ZIP on a Cold Fusion server. The error is being generated when one scheduled task creates a zip file of the inetpub/wwwroot directory and all subdirectories on a CF server.
When this was tested on...
I don't know of any existing code to do this either. You could write a custom tag to do it though. If you really need it in your app, it wouldn't be that difficult.
You may want to consider making your ID's numeric. This problem with the quotes in the IN clause when you pass it a list does not exist for lists of numeric data.
Alternatively, another option is to use a stored procedure to parse your list rather than attempting to do it with ColdFusion in...
I have a reply to your original question. This isn't very elegant, but it should work.
<CFQUERY NAME="qTrainer">
select FirstName,LastName
from trainer
where
<cfloop list="#session.Event.selTrainerID#" item="i">
userid = '#i#' or...
Seems like there are three different kinds of differences you might be interested in. This might require three queries or one query with two unions inside of it.
For the natural inner join between the two tables, i.e., rows with the same key, you can easily extract the rows whose non-key...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.