Hi
I have this bit of ASP script at the top of my page, connected to a search field in a form in the <body> of the page:
------------------------------------------------------------
If Not IsEmpty(Request("Ref"
) Then
If IsNumeric(Request("Ref"
) Then
'Add to query
'First item so we don't have to test for WHERE
blnWhere = True 'Set where to true
sql = sql & "WHERE "
sql = sql & "(Ref = " & CStr(CLng(Request("Ref"
)) & "
"
End If
End If
------------------------------------------------------------
I want to change this so I can enter an AlphaNumeric (e.g. P102) search terms.
All help greatly appreciated.
Matt Saunders
I have this bit of ASP script at the top of my page, connected to a search field in a form in the <body> of the page:
------------------------------------------------------------
If Not IsEmpty(Request("Ref"
If IsNumeric(Request("Ref"
'Add to query
'First item so we don't have to test for WHERE
blnWhere = True 'Set where to true
sql = sql & "WHERE "
sql = sql & "(Ref = " & CStr(CLng(Request("Ref"
End If
End If
------------------------------------------------------------
I want to change this so I can enter an AlphaNumeric (e.g. P102) search terms.
All help greatly appreciated.
Matt Saunders