Ammar, I suggest you add to the criteria the value of $cfg['maxRowPlotLimit'] to enable users to be aware of the limit and to change it if they need. -- Marc Delisle http://infomarc.info