I am not sure why you would be comparing QUERY into variable vs. Records in Table - did you really mean Records in Selection, not Table?
QUERY into variable would require a query which would probably be slower (due to a query). Records in Table ignores any selection and just returns the number of records in the table, presumably from the table headers (without any actual query). Of course I am just guessing here, I haven’t run any tests. -Tim ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************