Q&A

Q1:What's the advantage of stepping through a database by clicking on buttons?
A1: If the database is small, clicking on a button to move to the next record allows the user to examine the records at leisure.
Q2:How are the buttons linked to the movement through the database?
A2: The buttons are the standard HTML buttons that can be placed on a form. Their onClick() events are mapped to JavaScript functions that will perform the proper movement.
Q3:Why were buttons placed on the form that will move to the first and last records of the database?
A3: In small databases, where movement a record at a time is practical, there are times when you want to start at the beginning and other times when you want to start at the end.
Q4:When I run the program ...

Get Sams Teach Yourself XML in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.