View the source on the page and make sure that the form is named CForm_Trans
and the dropdown is named VTCode and the cases are correct.

jon
----- Original Message -----
From: "Larry Juncker" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, May 14, 2002 3:48 PM
Subject: CF_Two_Selects trouble all of a sudden....


> Can anyone take a look at the following and tell me why I keep getting
>
> Error: 'document.CForm_Trans.VTCode.selectedIndex' is null or not a n
object
>
> But when I look at the code most everything appears to be there.
>
> Need this quick if you can......
>
> Thanks In Advance
>
> <cfquery name="qryVehicles" datasource="AGCLASSEQUIP">
> SELECT
>   DISTINCT VEHICLETYPECODE AS VTCode,MANUFACTURER AS ManCode,
>   (MANUFACTURER || ' (' || COUNT(MANUFACTURER) || ')' ) AS MANUFCount
>   FROM VEHICLEQUERY
>   WHERE DEALRNAME <> 'HEARTLAND'
>   AND INACTSTATUS = 'A'
>   GROUP BY VEHICLETYPECODE,MANUFACTURER
> </cfquery>
>
> <CF_TwoSelectsRelated
> QUERY="qryVehicles"
> NAME1="VTCode"
> NAME2="ManCode"
> DISPLAY1="VTCode"
> DISPLAY2="ManufCount"
> VALUE1="VTCode"
> VALUE2="ManCode"
> WIDTH1="150"
> WIDTH2="200"
> FORCEWIDTH="150"
> FORCEWIDTH2="200"
> SIZE1="6"
> SIZE2="6"
> AUTOSELECTFIRST="Yes"
> FORMNAME="CForm_Trans">
>
> Larry Juncker
> Senior Cold Fusion Developer
> Heartland Communications Group, Inc.
> [EMAIL PROTECTED]
>
> CONFIDENTIALITY NOTICE
> The information contained in this e-mail is intended only for the use of
the
> individual or entity to which it is addressed.  This e-mail may contain
> information that is privileged, confidential, and/or personal. If the
reader of
> this message is not the intended recipient (or the employee or agent
responsible
> to deliver it to the intended recipient), you are hereby notified that any
> dissemination, distribution, or  copying of this communication is
prohibited.
> If you have received this communication in error, please notify us at the
email
> listed above.
>
> 
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to