Is it possible to pass field or table names as parameters to a query? So can you do: select count(?) from ? and then supply the field and table as a variant array? RBS