Thank you so much for your help, but I'm still not understanding the ASP set up for the application. I am new to both ASP and SQL. I understand the substring function. I understand the code that was written above, but I think my problem lies in the ASP setup, not in the code. For my application I used a similar setup that was used before I was employed here and that works successfully. Let me show you what I've written so far taking into account the above code and the ASP code written before I was here. Please advise....
SQL_EXPANSION01 = "Select Substring(PacketsStaged,1,(charindex('/',PacketsStaged)-1)) AS PacketsStagedAtt"
SQL_EXPANSION02 = "Select Substring(PacketsStaged,(charindex('/',PacketsStaged)+1),(charindex('(',PacketsStaged)-1) AS PacketsStagedSucc"
SQL_EXPANSION03 = "Select Substring(PacketsStaged,(charindex('(',PacketsStaged)+1),(charindex(')',PacketsStaged)-1) AS PacketsStagedPerc"
set r5 = conn.execute(SQL_EXPANSION01)
set r6 = conn.execute(SQL_EXPANSION02)
set r7 = conn.execute(SQL_EXPANSION03)
set r8 = Server.CreateObject("ADODB.Recordset"

r8.Open SQL_EXPANSION01, conn, adOpenStatic
On Error Resume Next
r8.MoveFirst
do while Not r8.eof
loop
set r9 = Server.CreateObject("ADODB.Recordset"

r9.Open SQL_EXPANSION02, conn, adOpenStatic
On Error Resume Next
r9.MoveFirst
do while Not r9.eof
loop
set r10 = Server.CreateObject("ADODB.Recordset"

r10.Open SQL_EXPANSION03, conn, adOpenStatic
On Error Resume Next
r10.MoveFirst
do while Not r10.eof
loop
The errors that I get are....
Undefined function 'substring' in Expression.
Undefined function 'charindex' in Expression.