<%@LANGUAGE="VBSCRIPT"%> <% ' *** Set Session Variable To Value Of Form Element Session("recipeID") = cStr(Request("recipeID")) %> <% ' *** Set A Session Variable To 1 so all we grab are the featured recipes. Session("recipeFeaturedFront") = ("1") %> <% Dim rsFeatured__MMColParam rsFeatured__MMColParam = "1" if (Session("recipeFeaturedFront") <> "") then rsFeatured__MMColParam = Session("recipeFeaturedFront") %> <% set rsFeatured = Server.CreateObject("ADODB.Recordset") rsFeatured.ActiveConnection = MM_potato_STRING rsFeatured.Source = "SELECT * FROM tblRecipes WHERE recipeFeatured = " + Replace(rsFeatured__MMColParam, "'", "''") + "" rsFeatured.CursorType = 0 rsFeatured.CursorLocation = 2 rsFeatured.LockType = 3 rsFeatured.Open() rsFeatured_numRows = 0 %> <% FUNCTION CropSentence(strText, intLength, strTrial) Dim wsCount Dim intTempSize Dim intTotalLen Dim strTemp wsCount = 0 intTempSize = 0 intTotalLen = 0 intLength = intLength - Len(strTrial) strTemp = "" IF Len(strText) > intLength THEN arrTemp = Split(strText, " ") FOR EACH x IN arrTemp IF Len(strTemp) <= intLength THEN strTemp = strTemp & x & " " END IF NEXT CropSentence = Left(strTemp, Len(strTemp) - 1) & strTrial ELSE CropSentence = strText END IF END FUNCTION %> <% Dim Repeat1__numRows Repeat1__numRows = -1 Dim Repeat1__index Repeat1__index = 0 rsFeatured_numRows = rsFeatured_numRows + Repeat1__numRows %> Potato Recipes

Below You Will Find Our Featured Potato Recipes.
Click HERE to search our database of delicious recipes.

Click On Any Of The Below Recipe Number's To See More Details.

"> <% While ((Repeat1__numRows <> 0) AND (NOT rsFeatured.EOF)) %> "> <% Repeat1__index=Repeat1__index+1 Repeat1__numRows=Repeat1__numRows-1 rsFeatured.MoveNext() Wend %>
Recipe #
Recipe Name
Ingredients/Measurements
Recipe Directions
<% =(CropSentence((rsFeatured.Fields.Item("recipeName").Value), 15, "...")) %>
<% =(CropSentence((rsFeatured.Fields.Item("recipeDescr").Value), 20, "...")) %>
<% =(CropSentence((rsFeatured.Fields.Item("recipeDirections1").Value), 20, "...")) %> ">

Webmaster Login

Purchase Products / News / About Us / Potato Products / Food Service / Fresh Potatoes / Packaging / Potato Sizing Chart / Potato Recipes / History / Contact Us

40 North 400 West, Blackfoot, ID 83221
(208) 785-5880 or toll-free (800) 522-2223
fax (208) 785-3656

<% rsFeatured.Close() %>