Glad you got it working, but the fact that it was a spelling problem implies
that you haven't told Access to require that all variables be declared.
The line
Option Explicit
should be at the top of every module.
Once it's there, you'd have got a "Undefined Variable" error, which might
have saved you a fair bit of time.
--
Doug Steele, Microsoft Access MVP
http://www.AccessMVP.com/DJSteele
(no e-mails, please!)
"Emma Hope" <(E-Mail Removed)> wrote in message
news:578D75AB-ACA2-495D-B620-(E-Mail Removed)...
> Never mind...it works! I just can't spell.....oops!