running a form in "Datasheets view"

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Did anyone know why i cannot use the event "On Key Down" or "On Key Press"
any
more when i set the default view of a form as "Datasheets View".
Is that true and are there any other solution?

What i want to do is add an action on the event "On Key Down", when user
press on "Return/Enter" -> the data of the current record will be open in
another MS Access form.

Best regards,

Patrick
 
Pat said:
Hi,

Did anyone know why i cannot use the event "On Key Down" or "On Key
Press" any
more when i set the default view of a form as "Datasheets View".
Is that true and are there any other solution?

No, I don't think that's true -- or at least, there shouldn't be a
problem. If you're using one of the form's key events, as opposed to a
control's event, then you'll have to set the form's KeyPreview property
to Yes. But I just tried this and it worked.
 

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

Back
Top