CFIF isDefined error " Complex object types cannot be converted

  • (2 Pages)
  • +
  • 1
  • 2

16 Replies - 6794 Views - Last Post: 30 May 2012 - 07:14 AM Rate Topic: -----

#16 Craig328  Icon User is offline

  • I make this look good
  • member icon

Reputation: 1926
  • View blog
  • Posts: 3,471
  • Joined: 13-January 08

Re: CFIF isDefined error " Complex object types cannot be converted

Posted 29 May 2012 - 02:16 PM

Well, the script is something you'd have to write yourself. As a short explanation, you'd write the script that once it fired from the onchange event handler, it would go and reset to the default value, all select fields that follow the one that fired. The Javascript to do the resetting is fairly straightforward and a reasonable example can be found here.

If you don't quite get that ('cause JS can be a little less than obvious), try visiting our Javascript forum and ask the nice fellas there.

Insofar as how you would do a QofQ against a previous query (cached or uncached) I'll refer you to check into the CFQUERY attribute called "dbtype" (used instead of datasource) as well as the Query of Queries user guide.

Check those resources out and you should be set in no time.
Was This Post Helpful? 0
  • +
  • -

#17 mossman65  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 32
  • Joined: 19-September 11

Re: CFIF isDefined error " Complex object types cannot be converted

Posted 30 May 2012 - 07:14 AM

Thank you very much for all your help!
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2