Record Object

You can use the Record object at render time to access the current DataSource record fields. 

Syntax

Record.collection|property|method

Collections
Fields Contains the list of field if the record
Properties
SentenceCase Sets or Gets how the receiver name should be formatted.
Trim Sets or Gets how record fields are trimmed.
EmailAddress Gets the displayable email address.
Email Gets the email address.
FullName Gets the full name.
FirstName Gets the first name.
LastName Gets the last name.
Fax Gets the fax number.
Mobile Gets the mobile phone number.
Remarks

The Record field is initialized by the DataSource object.  Calculated Properties (EmailAddress, Email, FullName, etc.) will be automatically set before Mail_OnStartRender gets called. 

Example

<html>
Dear <%=Record.FirstName%><br>
I was wondering about what the weather's like in <%=Record.Fields("City")%>?<br>
Regards,<br>
<%=Record.Fields("AccountManager")%>
</html>

See Also

DataSource Object



©2001-2015 eMill. All trademarks property of their owners.