I tend to salt everything "to taste". heh. :) > Guess it needs to be taken with 4 grains of salt 8^).
> -- > Mosh Teitelbaum > evoch, LLC > Tel: (301) 942-5378 > Fax: (301) 933-3651 > Email: [EMAIL PROTECTED] > WWW: http://www.evoch.com/ >> -----Original Message----- >> From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, June 10, 2003 4:28 PM >> To: CF-Talk >> Subject: RE: Is there a good way to do this? >> >> >> > I haven't tried it, so take this with a grain or three >> > of >> > salt, but 2 things >> > stand out: >> >> > 1) Start x at 1, not 0, and >> > 2) You probably have to use the Evaluate() function >> > around >> > the i[x] bit as >> > in: >> > replace(Evaluate("getreg.#i#[#x#]"),"'", "''","all") >> >> > Again, untested. >> >> This should work, but is probably not the best way to >> handle it. >> The # around x in this string aren't necessary, in other >> words >> evaluate("getreg.#i#[x]") would also work... x however is >> a >> duplication of the getreg.currentrow variable, so all the >> stuff >> to manipulate x can go away... and you can use array >> notation for >> both dimension of the query which makes the evaluate() >> unnecessary overhead, so getreg[i][currentrow] also >> works. >> >> hth >> >> s. isaac dealey 972-490-6624 >> >> new epoch http://www.turnkey.to >> >> lead architect, tapestry cms http://products.turnkey.to >> >> tapestry api is opensource http://www.turnkey.to/tapi >> >> certified advanced coldfusion 5 developer >> http://www.macromedia.com/v1/handlers/index.cfm?ID=21816 >> >> >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ~~~~~~~~~~~| > Archives: > http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 > Subscription: http://www.houseoffusion.com/cf_lists/index. > cfm?method=subscribe&forumid=4 > FAQ: http://www.thenetprofits.co.uk/coldfusion/faq > Host with the leader in ColdFusion hosting. > Voted #1 ColdFusion host by CF Developers. > Offering shared and dedicated hosting options. > www.cfxhosting.com/default.cfm?redirect=10481 > Unsubscribe: http://www.houseoffusion.com/cf_lists/uns > ubscribe.cfm?user=633.558.4 s. isaac dealey 972-490-6624 new epoch http://www.turnkey.to lead architect, tapestry cms http://products.turnkey.to tapestry api is opensource http://www.turnkey.to/tapi certified advanced coldfusion 5 developer http://www.macromedia.com/v1/handlers/index.cfm?ID=21816 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4