Base the Calendar Control on SQL query

I would like to base a calendar control on fields from a several of tables — how can I do this?

Create a view and base the calendar on the view