> >Passing the dsn to the CFC in the create object?? Is this correct or > should > >I change my ways?
I think it depends on your requirements and personal taste. I have done exactly the same thing, but now I also need to pass not just the DSN but also the database I'm currently working on. I chose to create a Datasource component and call Datasource.getDSN() and Datasource.getDatabase(). This way I only have to pass that as one argument and only one place to change if I ever need to. Rich Kroll ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270338 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

