Solved

AfterUpdate event

Posted on 2007-04-04
7
326 Views
Last Modified: 2007-04-04
I have a subform viewed as a continuous form. I'm trying to do something simple but its not coming out correct. I have a double click event in my txtPN, a popup form comes up and the user double clicks on a Part number, item goes into my txtPN.  how do I do an Afterupdate and automatically have the cursur go to my next textbox of  txtQTY.  
0
Comment
Question by:goingolfn99
7 Comments
 
LVL 15

Assisted Solution

by:jmantha709
jmantha709 earned 100 total points
ID: 18853496
What do you have so far ?

Did you try :

txtQTY.SetFocus
0
 
LVL 61

Accepted Solution

by:
mbizup earned 200 total points
ID: 18853511
When you open the popup for in the double-click event, open it as acdialog, so that the code will resume when the popup closes... something like this:

Private Sub txtPN_DoubleClick()
   Docmd.openform "Yourpopupformname",,,,,acdialog  '*** check the number of commas here (aircode)
   me.txtQty.setfocus         '** go to next textbox
end sub
0
 
LVL 75

Assisted Solution

by:DatabaseMX (Joe Anderson - Access MVP)
DatabaseMX (Joe Anderson - Access MVP) earned 200 total points
ID: 18853529
In you popup routine:

Me.txtPN.Text = <the part number>
Me.txtQTY.SetFocus

mx
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:goingolfn99
ID: 18853582
Thanks guys
0
 
LVL 61

Expert Comment

by:mbizup
ID: 18853596
Glad to help :)
0
 
LVL 75
ID: 18853611
and Girls :-)

mx
0
 
LVL 61

Expert Comment

by:mbizup
ID: 18853618
thx, mx :-)
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now