Search these areas:
Support Forums
Product Info

DataWeb: What's New
Creating an Application
The DataWeb Designer
Application Management
Data Tables
Data Tables
Data Analysis
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
New Responsive UI Module

DataWeb Help
Support Forums
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    
Email Us