Thank you, I put the code in, but get an error about the comma on line 4.
(I cut and paste the code in, and moved the line with the comma up to make it a long line, and it still shows the error.)
Data failure.
[Microsoft][ODBC SQL Server Driver][SQL Server]Line 4: Incorrect syntax near ','.