Hi, function using the dblist should expect always an array, also in case of error retrieving the dblist error reporting for retrieving the dblist is not the task of the function using the dblist so i would suggest that the dblist is ALWAYS an array, whether empty or not any doubts? -- Sebastian Mendel www.sebastianmendel.de