oh i see. that does make sense as the first few are valid date numbers even though they are not meant to be, so i need to adapt that structuretoquery so that my structure has a column data type and then it finds this in the structure
ok thanks brad ill play with that and see what happens thanks richard >The querynew() function accepts a second input which is a >comma-delimited list of data types for your queries columns. You would >have to examine the code inside of the structureToQuery udf to see what >it is doing though. >If you don't tell ColdFusion what to use, it guesses based on the first >several rows of the query. > >~Brad > >hi brad > >well i have first created a structure with the data and then used the >structureToQuery function from cflib to convert it to a query. it should >not be a date field - it is meant to be a varchar(5). should i do >something to ensure that these columns are setup as a varchar so that it >knows that this column is not mean to be a date field? > >if so how do i go about doing this? > >thanks for your help > >richard ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304949 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

