<%
'Modified on April 5, 2003 to Fix Bug
'
Response.Write "" & vbCrLf
%>
<% Call printCategorySelectionList() %>
<% =strCategoryName %>
<%
'*************************************************************************
' Function: printCategorySelectionList
' Description: prints the list of Categories to be selected
' Parameters: none
' Returns: none
'*************************************************************************
' Written by: Wilbert Madarang
' Date: February 3, 2003
'*************************************************************************
Function printCategorySelectionList
Dim rs, strLocalCategoryId, strLocalCategoryName, strUrl
'Obtain the list of All Patterns
strTable = "dirProductLineCategories"
strConstraints = " WHERE plId=" & strProductLineId
strSQL = "SELECT * FROM " & strTable & strConstraints
Call openDataConnection()
Set rs = dataConnection.Execute( strSQL )
Call closeDataConnection()
'Print out the Pattern List
Response.Write "" & vbCrLf
End Function
'*************************************************************************
' Function: printProductLineTitle
' Description: prints the product line Title
' Parameters: none
' Returns: none
' Written by: Wilbert Madarang
' Date: January 25, 2003
'*************************************************************************
Function getProductLineTitle( strProductLineId )
Dim strTitleImgLocation
SELECT CASE strProductLineId
CASE BED_LINEN_COLLECTION
strTitleImgLocation = BED_LINEN_COLLECTION_GIF
CASE DECORATIVE_PILLOWS
strTitleImgLocation = DECORATIVE_PILLOWS_GIF
CASE WINDOW_TREATMENT
strTitleImgLocation = WINDOW_TREATMENT_GIF
CASE ACCESSORIES
strTitleImgLocation = ACCESSORIES_GIF
CASE FURNISHINGS
strTitleImgLocation = FURNISHINGS_GIF
CASE ELSE
END SELECT
getProductLineTitle = strTitleImgLocation
End Function
%>