Hi, Does anyone know how I can find out the number of rows returned by a select statement in a Z SQL method? basically, I've got a form which has one row for each row in the database, I need to put a hidden count input in so the DTML method which processes the form knows how many rows to expect. Cheers for any help, Chris