Skip to main content
Participant
June 8, 2010
Question

how to disable error message

  • June 8, 2010
  • 4 replies
  • 911 views

how to disable error message when datasource can not be found " Datasource xxxx could not be found"?

This topic has been closed for replies.

4 replies

Inspiring
June 10, 2010
Inspiring
June 8, 2010

cftry cfcatch

Inspiring
June 8, 2010

I dunno about disabling it - because you should be told about that sort of thing - but you could always make sure your datasource exists (or the variable pointing to it...), that way you won't get the error...

--

Adam

Inspiring
June 8, 2010

Put a CFTRY / CFCATCH around the CFQUERY