Macro doesn't exist

  • Thread starter Thread starter thereames
  • Start date Start date
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?
 
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.
 
Back
Top