• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Day 12

Quiz

1: Name the three situations in which you should use SQL updates instead of the ColdFusion equivalents.
A1: When you need to insert data into more than one table, when your insert or update action is generally too complex to be handled with <CFINSERT> or <CFUPDATE>, or when you need to delete a record or records from a table .
2: How do you recover a record that has been accidentally removed with the DELETE command?
A2: You don't.
3: What ColdFusion tag makes multifunction form pages possible?
A3: <CFIF> enables you to perform more than one ACTION on a single page.
4: What are the primary differences between a form page designed to add a new record and one designed to edit an existing record?
A4: Pages that enable users to input new records don't have VALUEs specified in their input fields. "Edit" pages do contain VALUEs, which are usually supplied by query results .
5: Name some uses for the <CFGRID> tag .
A5: <CFGRID> provides an easy way to build input forms for tables that have lots of fields. It's also valuable for quickly displaying complex data that would get unwieldy in a standard HTML table.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint