- Code: Select all
globals.myHtmlField = "<html><head>header stuff here</head>"
globals.myHtmlField += "<body> body here </body>"
globals.myHtmlField += "etc etc"
Both if you're doing this to a global that is used on a screen or to a column of a table it will be much more cpu intensive then first constructing the entire contents in a variable and then putting it into the dataprovider:
- Code: Select all
var myHtml = "<html><head>header stuff here</head>"
myHtml += "<body> body here </body>"
myHtml += "etc etc"
globals.myHtml = myHtml