Don't put [1] at end of variable name as is done with numerical parameters with Define. Use new CCDB methods to get table row and column counts