How to pre-populate criteria for a dashboard in a form

Hello,

I have added a Dashboard into a UD Table customised form using the Sheet
Wizard. It works fine, but is has selection criteria that I would like
to populate automatically based on the record being viewed in the form.

How can I automatically either set filter properties or enter this
selection data in the dashboard? Can I do that in VB in the
customisation?

All help very much appreciated.

- Neil