OS X 10.6.3
Hi all,
I have a need to take multiple values from a checkbox field and create an array and do this over a small foundset of records
I seem to be failing miserably using the following code:
- Code: Select all
var v_fs_count = foundset.getSize();
var v_array_result = new Array();
var v_array_record = new Array();
var v_string = null;
for ( var i = 1 ; i <=v_fs_count ; i++ )
{
var v_current = foundset.setSelectedIndex(i);
v_string = z_temp_column;//checkbox field
if ( v_string )
{
v_array_record = v_string.split(' ');
v_array_result.concat(v_array_record);
}
}
Any pointers to where I may be going wrong appreciated
Cheers
Harry