Viewing 6 posts - 1 through 6 (of 6 total)
Nobody pointed out to this poor soul that
if @conditions Null
won't work...
April 21, 2006 at 8:14 am
I get 37 hours a day...
24 hours a day, 12 at night, and 1 for lunch
April 11, 2006 at 8:29 am
you can replace the entire second loop with 1 command:
objWorksheet.Range("A2").CopyFromRecordset objRecordSet
July 19, 2005 at 10:07 am
Just as the column names, for use with pivot tables. I use this code to automate reporting to excel. A few lines of code hoses the data to excel &...
July 12, 2005 at 4:45 pm
I called objRecordSet rs and objWorksheet ws,
but it seems like you could just do something like this
For CurCol = 0 To rs.Fields.Count - 1: ws.Cells(1, CurCol + 1).Value =...
July 12, 2005 at 7:20 am
CREATE FUNCTION xProper(@StringVal AS Varchar(8000)) RETURNS Varchar(8000)
BEGIN
Declare @Char As Varchar(1), @Len As Int, @NewVal As Varchar(8000), @Pos As Int, @PrevChar AS Varchar(1)
If @StringVal Is Null Return Null
Select @Char='', @NewVal='', @Pos...
May 6, 2004 at 5:28 am
Viewing 6 posts - 1 through 6 (of 6 total)