You can ask user in VB6 and send a formula or a parameter to the report