Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Anderson11983 #1
problem with a string error message
Hi,
I have a problem im tryin to convert the orginal sql stored procedure into a
coldfusion file.
Any way ive got the point of the tring error message and my head has gone
blank, and was wondering if someone can help.
This is the orginal code
BEGIN
set @StrErrorMsg= 'Objecttype: <em>' + @objecttype + '</em> is unknown'
select @StrErrorMsg as ErrorMsg, 1 as isError
return -- abort any further execution
END
And this is my code
<cfif not listfindnocase(objectType, "'Text', 'Image', 'File', 'Template',
'Page'")>
<cfset StrErrorMsg = "objectType ::" & #attributes.objectType# & "is unknown">
I seem to be struugling on the select part can anybody please shed any light.
All help is greatly appreciated.
Thanks again
Andy
Anderson11983 Guest
-
How To Supress Acrobat Error Message And Alert Message
Is there any way to supress those pop up message? If can't, is there any way to catch it? -
Error Message When Sending Message In Windows Mail
Am I the only one getting an error message when replying to a posted message using Windows Mail. Every time I send a message I get a popup error... -
String Index Out of Range Error on String ComparisonQuery
I am running CFMX 6.1 on Linux connecting to a PostgreSQL database server. I am performing a simple SELECT * where somestring = thisstring When I... -
CFFile Problem in MX7 - No Error Message, No Upload
We have a CFFile tag writing to a UNC Path. Its been working for years, and suddenly its acting terribly -- it does not return an error message, and... -
Delete error message problem
Hi there, i have a delete button on my form with the following code: docmd.runcommand.acCmdDeleteRecord When i run the code click delete, i...



Reply With Quote

