Ecco come ho risolto:
http://home.mweb.co.za/gs/gslennox/vb/vbcd/vbcd93.html