Hi Troy Thanks for your help. Got it working. Keith Hutchison Balance-Infosystems.Com postgresql - mysql - dbf Foxpro - Delphi - MS Access - REALbasic http://balance-infosytems.com http://realopen.org