When I use the code below to try to see information about both
Datasource1 and Datasource2, it always ONLY shows me info on the FIRST
data source in the list (Datasource1). Is this a looping logic problem,
or something to do with running cfdbinfo too quickly over and over?
Even if I reverse the list and put Datasource2 first, it only shows me
info on Datasource2, and repeats Datasource2's information when
Datasource1 is "ThisDSN".
<cfloop index="ThisDSN" list="Datasource1,Datasource2">
DSN = <cfoutput><strong>#ThisDSN#</strong></cfoutput><br>
<cfloop index="ThisType" list="dbnames|tables|version|procedures"
delimiters="|">
Type = <cfoutput><strong>#ThisType#</strong></cfoutput>
<cfdbinfo datasource="#ThisDSN#" name="result" type="#ThisType#">
<cfdump var="#result#">
</cfloop>
<HR>
</cfloop>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314275
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4