Take a look at this post, hopefully that will help http://community.quickfile.co.uk/t/how-do-i-log-a-grant/2984/