Modifying J Walkenbach's data entry userform

  • Thread starter Thread starter rbl
  • Start date Start date
R

rbl

I have purchased the code for the data entry form from j-walk. I have
make a few small changes to the code. I am generally happy with the
form. However, when the enter key is pressed during the entry of a new
record. the form closes and returns to the spreadsheet database.
I would appreciates any suggestions on how to make the enter key
respond the same as the tab key; that is, move to the next control in
the form.
 
I don't remember what the Data Entry form looks like (been a while),
but if you set the textboxes' EnterKeyBehavior property to False, then
Enter will act as Tab. Right-click on the form control in question,
and select Properties from the pop-up menu.
 
You also may want to look to see if the Ok button's .default property is set to
true.

If it is, then hitting enter is like clicking that button.
 

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