OK, found the solution now.
- Click 'configure DataSource' on the SmartTag
- On the 'Configure the Select statement' page of the wizard, choose 'Specify tables from a table or view
- Click the 'Advanced' button
- Select 'Generate Delete, Insert and update Queries'
NB, for this to work, your select statement must contain the Primary key of the table.