HA! right when you posted that billrob I figured out the problem with limnos code:
SELECT ID, Title, Topic, Summary, Dt_Article, Link = COALESCE(LINK, 'http://www.myserver.com/Article/article.aspx?content=2&ArticleID='+ Cast( ID as varchar)) FROM CMS_PRData WHERE Active=1 AND Dt_GoLive <= GETDATE() ORDER BY DT_Article DESC
Your code works and if what you state is true I'd better go your route. One last question though. How do I get the repeater to display the results. I ran your code in query analyzer confirmed results tried the form w the repeater and got nothing??? Am I missing anything?:
Sub FillRepeater()
Dim strConn As String = ConfigurationManager.AppSettings("AnyDocCMS")
Dim strQuery As String
strQuery = "SELECT ID, Title, Topic, Summary, Dt_Article, case when Link IS NULL OR " _
& "Link = '' THEN 'http://www.anydocsoftware.com/Article/Article.aspx?Category=3&ArticleID=' + " _
& "Cast(ID as char) else Link END as Link FROM CMS_PRData " _
& "ORDER BY DT_Article DESC"
pnlPR.Visible = True
End If
Using sqlDAdapter As Data.SqlClient.SqlDataAdapter = New Data.SqlClient.SqlDataAdapter(strQuery, strConn)
Dim dtTable As Data.DataTable = New Data.DataTable()
sqlDAdapter.Fill(dtTable)
rptA.DataSource = dtTable
rptA.DataBind()
End Using