LAB: Creating Searchable Web Enabled Products MS-Access Database (DB) Part 2 TEC236

LAB: Creating Searchable Web Enabled Products MS-Access Database (DB) Part 2 TEC236

<p>LAB: Creating Searchable Web Enabled Products MS-Access Database (DB) Part 2 TEC236</p><p>Open your Products database (products.mdb) in MS-Access</p><p>Right Click on tblProducts</p><p>Click on Design View</p><p>Add a new field called Image of the data type text</p><p>Click File > Save and then Close</p><p>Double Click on tblProducts table</p><p>In the Hamster Workout Wheel record, add the following html code to the image field: </p><p>In the Hamster Workout Wheel record, add the following html code to the Order field: <a href =small-animals-toys.html> Order Here </a></p><p>Save and close</p><p>Open your products.asp page in Notepad</p><p>Find the following lines of code and add the bolded text:</p><p>SQLStmt = "SELECT tblProducts.Product, tblProducts.Description, tblProducts.Price, tblProducts.Order, tblproducts.Image ”</p><p><TD BGCOLOR=#cccccc BORDERCOLOR=#000000 Width="25%"> <FONT SIZE=2 FACE="Arial" COLOR=#3C1A10>Product</FONT></TD> <TD BGCOLOR=#cccccc BORDERCOLOR=#000000 Width="25%"> <FONT SIZE=2 FACE="Arial" COLOR=#3C1A10>Description </FONT></TD> <TD BGCOLOR=#cccccc BORDERCOLOR=#000000 Width="15%"> <FONT SIZE=2 FACE="Arial" COLOR=#3C1A10>Price</FONT></TD> <TD BGCOLOR=#cccccc BORDERCOLOR=#000000 Width="10%%"> <FONT SIZE=2 FACE="Arial" COLOR=#3C1A10>Order</FONT></TD> <TD BGCOLOR=#cccccc BORDERCOLOR=#000000 Width="10%"> <FONT SIZE=2 FACE="Arial" COLOR=#3C1A10>Image</FONT></TD></p><p><TD BORDERCOLOR=#c0c0c0 Width="25%" ><FONT SIZE=2 FACE="Arial" COLOR=#000000> <%= RS("Product") %> </FONT></TD> <TD BORDERCOLOR=#c0c0c0 Width="25%" ><FONT SIZE=2 FACE="Arial" COLOR=#000000> <%= RS("Description") %> </FONT></TD> <TD BORDERCOLOR=#c0c0c0 Width="15%" ><FONT SIZE=2 FACE="Arial" COLOR=#000000> <%= RS("Price") %> </FONT></TD> <TD BORDERCOLOR=#c0c0c0 Width="10%" ><FONT SIZE=2 FACE="Arial" COLOR=#000000> <%= RS("Order") %> </FONT></TD> <TD BORDERCOLOR=#c0c0c0 Width="10%" ><FONT SIZE=2 FACE="Arial" COLOR=#000000> <%= RS("Image") %> </FONT></TD></p><p>Save the page</p><p>Test http://localhost/product.html You should see a Order Here link that goes to the Order Form and an image.</p><p>Add the following to your products.mdb database table tblProducts</p><p>Double Click on tblProducts table</p><p>In the Poly Resin House (Large) record, add the following html code to the image field: </p><p>In the Poly Resin House (Large) record, add the following html code to the Order field: <a href =small-animals-toys.html> Order Here </a></p><p>In the Super Pet Giant Run About Ball record, add the following html code to the image field: </p><p>In the Super Pet Giant Run About Ball record, add the following html code to the Order field: <a href =small-animals-toys.html> Order Here </a> ______In the Super Pet Ferret Playhouse record, add the following html code to the image field: </p><p>In the Super Pet Ferret Playhouse record, add the following html code to the Order field: <a href =small-animals-toys.html> Order Here </a> ______</p><p>In the Super Pet CritterTrail Mini Manor record, add the following html code to the image field: </p><p>In the Super Pet CritterTrail Mini Manor record, add the following html code to the Order field: <a href =small-animals-toys.html> Order Here </a> ______</p><p>In the Deluxe 16 Small Animal Starter Kit record, add the following html code to the image field: </p><p>In the Deluxe 16 Small Animal Starter Kit record, add the following html code to the Order field: <a href =small-animals-toys.html> Order Here </a></p><p>Save and close the Database</p><p>Test http://localhost/product.html You should see a Order Here link that goes to the Order Form and an image for each item</p>

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    3 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us