CHAINLINK_2006
05-05-2005, 10:17 PM
Hey,
I connected to the DB like this:
Set rsP1000 = Server.CreateObject("ADODB.Recordset")
strSQL = "SELECT [G2P] FROM tblClients WHERE ClientID = '" & strID & "' AND GTime2 ='10:00a'"
rsP1000.Open strSQL, adoCon
I was wondering if the connection does not return any results, how do I display nothing. It keeps failing out because there is no record.
Thanks
I connected to the DB like this:
Set rsP1000 = Server.CreateObject("ADODB.Recordset")
strSQL = "SELECT [G2P] FROM tblClients WHERE ClientID = '" & strID & "' AND GTime2 ='10:00a'"
rsP1000.Open strSQL, adoCon
I was wondering if the connection does not return any results, how do I display nothing. It keeps failing out because there is no record.
Thanks