On 2/20/08, erik tom <[EMAIL PROTECTED]> wrote: > The query is > select menuId,label,foundOn from dbo.menu where menuId IN (select foundOn > from dbo.menu where menuId=#form.selTopLevel2#) order by menuId
So you're expecting "foundOn" to be equal to menuID - if that's the case, why is foundOn a text datatype? You're basically saying this: select menuId, label, foundOn from dbo.menu where menuId IN ('foo') What are the possible values of foundOn? -- Rick Root New Brian Vander Ark Album, songs in the music player and cool behind the scenes video at www.myspace.com/brianvanderark ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299507 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4