Passing an array multi dimension and retrieving it in other form or application

dear members,

i think i have problem in declaring multi dimensional array and then retrieving it in other form or control.

here is the case, i have grid application (not a form). in the onrecord event, i simply type this code:



no error found. the grid works properly. when i hit the button (yes, i add button as link, and then pass the [arr_v1] as the global variable), it goes to the blank application which should get the passed variable.

here is the code i type in the blank application (the target).


//retrieving all value from array which passed from the grid application
for ($x=0; $x<=$Isi; $x++){
//terpaksa dibongkar array di sini


i got error message:
Fatal error: Cannot use string offset as an array in E:\Scriptcase\wwwroot\scriptcase\app\Simba\blank_MapHotelList\blank_MapHotelList.php on line 953

here is the code i copy from the generated php (line 951 to 963, error highlighted on line 953)
for ($x=0; $x<=$Isi; $x++){

$Lat=$arrx[$x]['Latitude']; //this is line 953


are there any missing part or i did a mistake in the blank application? (the target which receives the array variable)

please kindly help for this case since i don’t have any idea which part i did the mistake. my best guess is in the blank application because the error was raised here.

thanks :slight_smile: