Inventory Find








Book Finder







Find a Book

Title text:  
Search

Results:



function FindBooks ()
{
SearchString = SearchText.value.toUpperCase();
if (SearchString == "")
{
ResultDiv.innerHTML = "<You must enter text into "
+ "'Title text' box.>";
return;
}

dsoInventory.recordset.moveFirst();

ResultHTML = "";
while (!dsoInventory.recordset.EOF)
{
TitleString = dsoInventory.recordset("TITLE").value;

if (TitleString.toUpperCase().indexOf(SearchString)
>=0)
ResultHTML += ""
+ dsoInventory.recordset("TITLE")
+ ", "
+ ""
+ dsoInventory.recordset("AUTHOR")
+ ", "
+ dsoInventory.recordset("BINDING")
+ ", "
+ dsoInventory.recordset("PAGES")
+ " pages, "
+ dsoInventory.recordset("PRICE")
+ "";

dsoInventory.recordset.moveNext();
}

if (ResultHTML == "")
ResultDiv.innerHTML = "<no books found>";
else
ResultDiv.innerHTML = ResultHTML;
}






Wyszukiwarka

Podobne podstrony:
find peerpoint
find locations
find intersection
find contacts
find locations
find fuel
find intersection
find 1
inventari sonori PL
find?dress
bach invention 02 a4
find?dress
find saversguide
find cities
Autodesk Inventor Professional 2008 [34 strony]
find fuel
find fuel

więcej podobnych podstron