Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Check the value in the paramter collection

Status
Not open for further replies.

kebele

MIS
Joined
Jul 31, 2006
Messages
107
Location
US
hi all,
Is this possible to check if there is a value in the parameter collection and if there is none skip from executing the next sql line. thanks


If Not IsDBNull(SqlDataSource1.SelectParameters(":VendorName")) Then
Sql = Sql & " AND (Upper(V.VNAMEL) LIKE '%' || Trim(Upper(:VendorName))|| '%') "
End If
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top