Search these areas:
Help
Support Forums
Product Info



Introduction
DataWeb: What's New
Creating an Application
The DataWeb Designer
Application Management
Data Tables
Data Tables
Views
Templates
Components
Data Analysis
Members
Security
Importing
Exporting
FTP
JavaScript
Object Model
JavaScript Objects
General Scripting Objects
Data Access Objects
-cmdDelete Object
-cmdInsert Object
-cmdSelect Object
-cmdUpdate Object
-Data Access Method Arguments
-Field Object
-Fields Collection
-Index Object
-Indexes Collection
-previous Object
-record Object
-Resultset Object
-Table Object
-Tables Collection
-TextImporter Object
-Settings Object
-View Object
-Web Object
File Access Objects
Http Client Objects
Security and Membership Objects
Document Object Model (DOM)
Error Descriptions
Object Model Extensions
Full-Text Search
Domain and Email Hosting
HotBlock Modules
Account Management
Glossary
New Responsive UI Module





DataWeb Help
Support Forums
Tutorial
Script Library
Knowledge Base

Home > Support

DataWeb User's Guide

record Object
The record object represents an individual record of a data table. The record object provides a convenient way of manipulating and displaying records in .view files and .data files.

The record Object in .view Files

In a .view file which contains a data region, the properties of the record object correspond to the fields displayed by the data region and the values of those properties correspond to the values of the current record displayed by the data region. For example, in a .view file with a data region bound to the AddressBook data table, the record object will have the properties record.FirstName, record.LastName, record.Email, etc.; the values of these properties will depend on which record is currently displayed by the data region. (Note that the properties of the previous object are determined by the ws:field tags present in the .view file, not by the fields of the data table bound to the view.)

Use DataWeb Substitution Syntax to display the values of the record object within a .view file.

The record Object in .data Files

You can use the record object to validate or manipulate data before changes are made to a data table. For a detailed discussion see Working with Data Classes.

Related Topics

previous Object, How To: Display the value of a foreign field in view script

Affiliate | Partner | Terms of Use | Privacy Policy | Contact Us | Pricing | Bring DataWeb In-House    
DataWeb, 720 North 10th Street, A #145, Renton, Washington 98057 *425-583-5970* Fax 484-770-4706* Email Us