Well, "IT" is certainly doable. You need to instantiate a querfdef object. Once instantiated, You construct the SQL string for the information/calcualtion(s) desired in the output. Finally, generate a recordset based on the querydef.
As they say - "Boom! Done!
Having said all that, the reasons for " ... not even trying?" may be equally compellling.
If you can calculate "It" from the information available to the form, why go to the extreme of constructing a quey when the same "Function" could be done in the form events?
MichaelRed
mred@duvallgroup.com
There is never time to do it right but there is always time to do it over