Can be used as a method to gather all the information and message in one place to make it easier for the information to be included in a message.
This example is having the information from a table be outputted into the message box.
var i; var string = ""; //creates a string variable if (form.unload) { if (TableName.itemAdded) { i = TableName.itemIndex; string += Column1[i].value + " " + Column2[i].value + " " + Column3[i].value + " " + Column4[i].value + "<br/>"; } else { for ( var i=0; i < Column1.value.length; i++) { string += Column1[i].value + " " + Column2[i].value + " " + Column3[i].value + " " + Column4[i].value + "<br/>"; } } MessageBox.value = string; }