I have a text box, with a command button next to it. When the button is
pressed, I want to run some code.
Then pass the focus to the next control.
How do I do this?
I have a text box, with a command button next to it. When the button is pressed, I want to run some code. Then pass the focus to the next control. How do I do this?
Thanks Vayse
Did you have a look at Tomb's post right before yours?
Two simple ways:
button1.selectnextcontrol
This is what you probably want to do, very simple.
Dim control As New Control
control = Me.GetNextControl(Button1, True)
control.Focus()
"Vayse" <va***@nospam.nospam> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
I have a text box, with a command button next to it. When the button is pressed, I want to run some code. Then pass the focus to the next control. How do I do this?
I've got a memory overwrite problem, and it looks as if a vector has
been moved, even though I haven't inserted or deleted any elements in
it. Is this possible? In other words, are there any...
I have a form which is displayed in Datasheet View and would prefer it
if, when entering data, I could use the keyboard as I would when
entering data into a Datasheet.
Is it possible when...
I'm using Access 2002. My database is in Access 2000 format.
I'm designing a form to collect responses to a 40-item questionnaire.
I can fit four list boxes on a screen, so I plan to have 11 tab...
Hi All,
How to Implement Move Next, Move Previous, Last Record and First Record in a DataGrid Control ?
Is there any standard tool available in the tool box button?
Thanks for your time.
...
I have an app that was originally 1.1, now migrated to 2.0 and have run into
some sporadic viewstate errors...usually saying the viewstate is invalid,
eventvalidation failed or mac error.
My web...
I need a idea how to program the following.
I have a control inherited from textbox.
The differnce should be, that the cursor will move to the next control ,
when the user presses the TAB...
I was wandering if nyone has a script to move files older than x days old? i've seen several to delete, but I don't want to delete. I would like to create a backup of the files first verify with...
Hi
Using A2003
My db has main form with stakeholderID & other main
details.
When there are a number of detail subform records it often requires
two clicks of the next/previous nav buttons...
How do you programmatically shift focus to the next tab stop? i.e. I have a bunch of textboxes that all have their tab orders set in sequence. The user hits enter as they finish entering data in any...
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...