Thanks for the tip - this does solve the problem - for anyone else's interest the connection string looks like this
Driver={SQL Server};Server=disql03;Database={USERVAR(metric_project)};Uid=username;Pwd=userpassword;
The connection will fail the test option in the connection dialog but does work correctly when used. 😁
Brett