I should probably add that the relationship between the account table and the activity table is master/detail.