Major topics covered in this class:
- Display a Specific Database Record
- SQL Statement
- Editing a Record
- Deleting a Record
- Confirming Deletion
In this lesson, we will continue working with
databases. We will learn how to open up a table and display a
specific record by looping through all of the records. We'll let
the user click on the record he wants to see in our customer list:
Then we'll display that specific record,
showing all of the fields for that customer. In fact, I'll show you a
trick so that we can show all of the fields without having to
specifically lay out each field on the page.
Next, we'll learn a more efficient way to open up
a table and show a specific record using an SQL Statement. I'll
give you a thorough background on what SQL is and how it works. We'll
learn about the SELECT and FROM statements as well as
WHERE and ORDER BY clauses.
We'll also create hyperlinks in our table
column headers so we can sort the table based on any of the fields using
the ORDER BY clause.
Next we'll create a form so that we can edit
any of the records in our database. We'll use the same form for
adding new records as well.
Finally, we'll learn how to delete records,
if they're sure they want to delete the customer.
Again, if you're interested in learning how to
work with online database, this class is not to be missed. We
cover a lot of fundamentals - displaying specific data, editing,
and deleting records.