But looking closer at you code, it's not in CF is it. Looks like a stored procedure? If so, sorry please ignore my first suggestion.
-------------- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA "C code. C code run. Run code run. Please!" - Cynthia Dunning ...-----Original Message----- ...From: Ian Skinner ...Sent: Thursday, January 20, 2005 3:15 PM ...To: CF-Talk ...Subject: RE: Using variables to build a string ... ...& is the concact operator of CF not + ... ...Var & var & var for stirngs. ... ... ...-------------- ...Ian Skinner ...Web Programmer ...BloodSource ...www.BloodSource.org ...Sacramento, CA ... ..."C code. C code run. Run code run. Please!" ...- Cynthia Dunning ... ... ... ......-----Original Message----- ......From: Eric Creese [mailto:[EMAIL PROTECTED] ......Sent: Thursday, January 20, 2005 2:05 PM ......To: CF-Talk ......Subject: Using variables to build a string ...... ......I am trying to build a chatracter string with parts of a date to name ...an ......excel file I am outputing. But it's trying to mathmatically calulate ...the ......values. Can't remember how to do this. can anyone help??? ...... ......SET @month = CONVERT(varchar(3),DATENAME(m,getdate())) ......SET @day = CONVERT(varchar(2),DATEPART(d,getdate())) ......SET @year = CONVERT(varchar(4),DATEPART(yyyy,getdate())) ...... ......SET @filenameend = @month+'-'[EMAIL PROTECTED]'-'[EMAIL PROTECTED] ...... ...... ... ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware: a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191299 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

