Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Vista

Dreamweaver CS5 : Standard Server Behaviors (part 2) - Recordset Paging, Move To Specific Record & Show Region

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
7/12/2012 6:01:53 PM

3. Recordset Paging

The Recordset Paging server behaviors move the record pointer to the indicated data record in a given recordset. They are frequently used in combination to navigate through a recordset. In all, five Recordset Paging server behaviors exist; however, you insert the following four in an identical fashion:

  • Move To First Record

  • Move To Previous Record

  • Move To Next Record

  • Move To Last Record

The fifth server behavior in this category, Move To Specific Record, uses a different procedure, which is covered in the following section.

Requirements: A selected page element and at least one recordset with more than one returned row.

To use any of the four basic Recordset Paging server behaviors, follow these steps:

  1. Select the text or image to which you'd like to attach the server behavior.

  2. From the Server Behaviors panel, click the Add (+) button and choose the desired behavior from the Recordset Paging submenu. The appropriate Recordset Paging dialog box appears. Your selection is highlighted in the Link list, as shown in Figure 3.

    Figure 3. The Recordset Paging server behaviors (such as Move To Last Record) identify your selected target, which may be an image or text.
  3. Make sure that the link selected is one of those showing in the Link list.

  4. Choose the recordset you want to work with from the Recordset drop-down list.

  5. Click OK when you're finished.


4. Move To Specific Record

The Move To Specific Record server behavior is used after a recordset has been created to navigate through the records. To use the Move To Specific Record server behavior (not available in ColdFusion or PHP), follow these steps:

  1. Select the text or image to which you'd like to attach the server behavior.

  2. From the Server Behaviors panel, choose Move To Specific Record from the Recordset Paging submenu. The Move To Specific Record dialog box is displayed, as shown in Figure 4.

    Figure 4. An alternative method for creating a detail page uses the Move To Specific Record server behavior.
  3. Select the desired recordset from the list labeled Move To Record In.

  4. Choose the field referenced in the URL parameter from the Where Column field.

  5. Enter the variable in the URL parameter in the Matches URL Parameter field.

  6. Click OK when you're finished.


5. Show Region

The Show Region server behavior displays an area of the screen if a particular condition is true. These are often called conditional regions. A different set of server behaviors applies for each server model.

ColdFusion and PHP:

  • Show If Recordset Is Empty

  • Show If Recordset Is Not Empty

  • Show If First Page

  • Show If Not First Page

  • Show If Last Page

  • Show If Not Last Page

ASP VBScript:

  • Show Region If Recordset Is Empty

  • Show Region If Recordset Is Not Empty

  • Show Region If First Record

  • Show Region If Not First Record

  • Show Region If Last Record

  • Show Region If Not Last Record

Requirements: One or more selected page elements and at least one recordset.

Applying a Show Region server behavior is straightforward. Just follow these steps:

  1. Select the page area you'd like to show conditionally.

  2. From the Server Behaviors panel, click the Add (+) button and select one of the server behaviors from the Show Region submenu. The dialog box for the specific Show Region server behavior you chose is displayed, like the one shown in Figure 5. The dialog boxes for all the Show Region server behaviors are identical.

    Figure 5. To use any of the Show Region server behaviors, just choose a recordset.
  3. Select the recordset on which to base the Show Region condition from the Recordset list.

  4. Click OK when you're finished.

Other -----------------
- Dreamweaver CS5 : Standard Server Behaviors (part 1) - Recordset & Repeat Region
- CorelDRAW X5 : Text and Styles
- CorelDRAW X5 : Wrapping Text Around Other Shapes
- Adobe Illustrator CS5 : Working with Layers - Flattening Layers & Locating Objects in the Layers Panel
- Adobe Illustrator CS5 : Working with Layers - Moving Objects to a Layer
- Adobe Photoshop CS5 : The Essential Adjustments: White Balance
- Adobe Photoshop CS5 : Miss the JPEG Look? Try Applying a Camera Profile
- Adobe Fireworks CS5 : Working with Adobe AIR (part 4) - Installing the prototype
- Adobe Fireworks CS5 : Working with Adobe AIR (part 3) - Creating an AIR prototype
- Adobe Fireworks CS5 : Working with Adobe AIR (part 2) - Adding AIR events
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server