Placing Array into a Global
Posted: Thu May 20, 2004 1:30 pm
This may seem a simple task to you experts out there, but I am having problems finding out how to place the contents of an array into a global field.
Firstly, I am getting all the current UserGroups by doing the following:
How do I then place the Array contents into a global field?
Firstly, I am getting all the current UserGroups by doing the following:
- Code: Select all
var Groups = security.getGroups();
var showArray = new Array(Groups.getMaxRowIndex());
for ( var i = 0 ; i < Groups.getMaxRowIndex() ; i++ )
showArray[i] = Groups.getValue(i + 1, 2);
How do I then place the Array contents into a global field?