Macro doesn't exist

T

thereames

I'm trying to use the MS help for Enumerating records on a datasheet
(http://support.microsoft.com/kb/294202). I've taken this macro and
replicated it for my use (and in my particular case, following the
directions for subform use.)

Everytime I mouse over the newly created command button I get the
error "Microsoft Access Can't find the Macro
'SelRecord([subformname].form,"move")

I thought that perhaps it was something wrong with the way I was
referencing the subform so I decided to follow the KB directions to do
this in the Northwind database. But I followed directions to use the
functions/macro there (and this time without trying to use a subform
even) and I get the exact same error.

I have double checked my References to be sure DAO 3.6 is referenced
already, which it is.

Thoughts?
 
J

John W. Vinson

Everytime I mouse over the newly created command button I get the
error "Microsoft Access Can't find the Macro
'SelRecord([subformname].form,"move")

Preface it with an = sign: The command button's click event property should
read

=SelRecord([subformname].form,"move")

I'm assuming that SelRecord is stored as a Function rather than a Sub.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top