Difference?

  • Thread starter Thread starter hermie
  • Start date Start date
H

hermie

Hi
I have the VBA handbook and in this book they use the nothwind database.
What happens? When I put the command: forms!customers.country.setfocus it
works for the north wind database. I get focus

But whenI do they same exercise in my testdatabase I get the error: Runtime
error 424 object required?

forms!frmtest.addres-city.setfocus

What goes wrong here?

Herman
 
Hi
I have the VBA handbook and in this book they use the nothwind database.
What happens? When I put the command: forms!customers.country.setfocus it
works for the north wind database. I get focus

But whenI do they same exercise in my testdatabase I get the error: Runtime
error 424 object required?

forms!frmtest.addres-city.setfocus

What goes wrong here?
dont use not-alphanumerics in controlnames and fieldNames, if you have
you have to use [field name]
 
Back
Top