thanks for the replies, i have tested it in mysql and it executes fine and displays the results.
if the stored procedure expects a varchar do you have any suggesstions on what i may try i am just wondering also why it is saying null pointer, it sounds like its not detecting the stored procedure. i have run the query in a cfquery tag and it works fine so not sure what the null pointer is referring to thanks again ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:257365 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

