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

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

Open your Products database (products.mdb) in MS-Access

Right Click on tblProducts

Click on Design View

Add a new field called Image of the data type text

Click File > Save and then Close

Double Click on tblProducts table

In the Hamster Workout Wheel record, add the following html code to the image field:

In the Hamster Workout Wheel record, add the following html code to the Order field: Order Here

Save and close

Open your products.asp page in Notepad

Find the following lines of code and add the bolded text:

SQLStmt = "SELECT tblProducts.Product, tblProducts.Description, tblProducts.Price, tblProducts.Order, tblproducts.Image ”

Product Description Price Order Image

<%= RS("Product") %> <%= RS("Description") %> <%= RS("Price") %> <%= RS("Order") %> <%= RS("Image") %>

Save the page

Test http://localhost/product.html You should see a Order Here link that goes to the Order Form and an image.

Add the following to your products.mdb database table tblProducts

Double Click on tblProducts table

In the Poly Resin House (Large) record, add the following html code to the image field:

In the Poly Resin House (Large) record, add the following html code to the Order field: Order Here

In the Super Pet Giant Run About Ball record, add the following html code to the image field:

In the Super Pet Giant Run About Ball record, add the following html code to the Order field: Order Here ______In the Super Pet Ferret Playhouse record, add the following html code to the image field:

In the Super Pet Ferret Playhouse record, add the following html code to the Order field: Order Here ______

In the Super Pet CritterTrail Mini Manor record, add the following html code to the image field:

In the Super Pet CritterTrail Mini Manor record, add the following html code to the Order field: Order Here ______

In the Deluxe 16 Small Animal Starter Kit record, add the following html code to the image field:

In the Deluxe 16 Small Animal Starter Kit record, add the following html code to the Order field: Order Here

Save and close the Database

Test http://localhost/product.html You should see a Order Here link that goes to the Order Form and an image for each item

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