Simple issue...

Hi,
I'm looking for one line of code to jump keyboard focus to a particular 
field within a form, which I can put inside my oncurrent event?

My control name is NAME.

tia for your help/.
-- 
Dan Walters
0
Utf
12/10/2007 12:19:01 PM
access.formscoding 7493 articles. 0 followers. Follow

2 Replies
663 Views

Similar Articles

[PageSpeed] 26

First, change the name of the control.  Name is an Access reserved word, and 
it may cause problems.
To set the focus to the control:

Me.SomeName.Setfocus
-- 
Dave Hargis, Microsoft Access MVP


"DanielWalters6" wrote:

> Hi,
> I'm looking for one line of code to jump keyboard focus to a particular 
> field within a form, which I can put inside my oncurrent event?
> 
> My control name is NAME.
> 
> tia for your help/.
> -- 
> Dan Walters
0
Utf
12/10/2007 1:36:01 PM
Thank you - solved issue - I did say it was going to be simple! :)
-- 
Dan Walters


"Klatuu" wrote:

> First, change the name of the control.  Name is an Access reserved word, and 
> it may cause problems.
> To set the focus to the control:
> 
> Me.SomeName.Setfocus
> -- 
> Dave Hargis, Microsoft Access MVP
> 
> 
> "DanielWalters6" wrote:
> 
> > Hi,
> > I'm looking for one line of code to jump keyboard focus to a particular 
> > field within a form, which I can put inside my oncurrent event?
> > 
> > My control name is NAME.
> > 
> > tia for your help/.
> > -- 
> > Dan Walters
0
Utf
12/12/2007 9:29:02 AM
Reply:

Similar Artilces:

Sync Issues After Exchange 2010 Upgrade
Hi all Anyone suggest remedy for sync issues between Outlook2003/2007 and Exchange 2010 please? We run Outlook in cached mode so that users have access to emails on their laptops when not connected to the network or Internet. After our 2010 Exchange upgrade, a sync issue is reported whenever communication with Exchange is broken/restored (closing and re-opening Outlook prompts this). It may be related - some users have reported eratic behaviour when deleting emails - usually it works fine - sometimes the item simply doesn't delete - sometimes the message "Unknown...

AutoAcceptAgent issue .....
I always got the registration status=2 when using mailboxstatus.vbs. But all the resources really register successfully and the listmailboxes show all have been successfully register resources. Why ? Will there be something wrong if the registration status=2 ? Help, Thanks. There doesn't have to be anything wrong with the resource. Most likely the account that you use to run the script doesn't have read permissions on the mailbox you are verifying. If the resources are replying to meeting requests, there's nothing to worry about. Here's some information about the auto ac...

Simple graph
I have a chart with zip codes and a population rate. ZIP RATE 80001 2.34 80002 1.23 80003 1.23 I want to make a chart that has the rate on the x axis and the number of times that rate occurs on the y axis. | | | * | | * |_________________________________ | | 1.23 2.34 Thank you. I will assume the ZIP and RATE stuff is in A1:B200 (labels in row 1) Label in G1 to read RATE (but leave it empty for now), label in H2 to read COUNT Make a list of rates in G2:G20 (say) In H2 =COUNTIF($B$2:$B$200,G2) Copy down the row Select H1:G20 and make a...

Simple Simple Simple
Just started Excel (again) and need to make an easy speadsheet fo calculating square inches. Column A: Height Column B: Legnth Column C: Total Tags per 16 x 24 Column D: Cost per tag Figures I know: each sheet cost me $9.98. each sheet is 16 x 24 inches What I want to do is enter the Height, enter the Length and have th total (sum) be entered into columns C and D. I can't believe I forgot how to enter formulas. Any help will b appreciated. Thank you, Crai -- Message posted from http://www.ExcelForum.com Hi Craig, One Way, might be better ways but this'll work: List the colou...

Simple help with implementing Outlook-like GUI
Hi All. I am an experienced unix programmer who sometimes has to do something in the windows world, and always has newbie-questions. Basically I want to write an application program that looks like outlook in that it has nice icons down the left hand side that choose the content of the main area in the right hand side. So I started the MFC App wizard, and got me a SDI program with a CLeftFrame (CTreeView) and a CMainFrame (CFrameWnd). Then I prepared the following snippet of code to draw the buttons: // Create a pushbutton CBitmapButton* pmyButton; pmyButton = new CB...

Rollup 1 issue
Since installing the RollUp1 for CRM 3.0, Laptop client users get errors like "Failed move data for entity 'Contact'" on synchronising (going Offline). I've looked at the KB and there's nothing listed there post-Rollup1. Any solutions out there? There is a client version of the roll-up Im sure you installed but have to check. "Matt" wrote: > Since installing the RollUp1 for CRM 3.0, Laptop client users get errors > like "Failed move data for entity 'Contact'" on synchronising (going > Offline). I've looked at the...

Simple hack to get $500 to your home. 06-05-10
Simple hack to get $500 to your home at http://uknews.tk Due to high security risks,i have hidden the cheque link in an image. in that website on left side below search box, click on image and enter your name and address where you want to receive your cheque.please dont tell to anyone. ...

TLS-certificates and interoperability-issues sendmail / Exchange / postfix ..
I'm planning using TLS on MS Exchange2003 gateways to achieve encrypted server-to-server connections across the Internet, not for the mass mail communication, just for a couple of maildomains. Q1. TLS server certificates In my testlab the sending Exchange server receives a server-certificate and immidiately starts encrypting the session. No checks or verifications of the certificate against CA's are made. If this is normal behavour for the sending server, regardless of brand (sendmail / postfix / etc. ), I plan to use self-signed-certificates and save money buying certificates. What&#...

Simple Query Wizard hangs
I am using Access 2003 When I initiate the "Simple Query Wizard", I am presented with the first screen - "What fields do you want in your query" When I click on the pulldown list to select a table, I get the following message: "The expression On Get Focus you entered as the event property setting produced the following error: the text you entered isn't an item in the list * the expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure]. * There may have been an error evaluating the function, event, or macro&q...

OMA search issue
I've just set up some test Exchange 2007 servers and when I connect using OMA and try to search any folders I get a red warning saying:- "Search results may take a long time to appear because Microsoft Exchange Search is unavailable. Results will not include matches in the e-mail body." This is for a mailbox I moved from an Exchange 2003 server about 4 hours ago The "Microsoft Search (Exchange)" service is running If I run "Get-MailboxDatabase |select name, indexenabled" from the Exchange Shell it shows "IndexEnabled" for all mailbox databases. ...

I Need a Simple Sales Software
Hello, I am looking for software to keep track of my prospects, customers, and the notes of the sales process. I spend about one hour a day on sales and marketing, so I prefer a simple and inexpensive software. Maximizer, Outlook, Act, and Goldmine seem made for the full-time professional salesperson. Please let me know if what I am looking for exists. Best Regards, T.I. ...

Simple public folder permission problem
I have a public task list folder. However even though I have given everyone "Author" priviledges and full control of the directory, users cannot update the tasks (although they can create new ones). The changes to tasks get reset to their original values. Where should I look to fix this problem? Brian How did you grant Author Access, via Outlook or ESM? What do you meanyou gave them full control of the directory? "Brian Taylor" <taylorb@newsgroups.nospam> wrote in message news:e2hwumGrEHA.1160@tk2msftngp13.phx.gbl... > I have a public task list folder. Ho...

MS Money Plus Deluxe
I just installed the above product and am working to understand MS Money from MS Money 2002 that I had previously. I imported all the transactions but seem to see an odd issue. I have a payee called Finance Charge... on the payee report I see on a few days where the same transaction will show up twice Foe example on 11/29 it will show $11.52 twice one entry when I double click on it as "downloaded" and one asd "reconciled" yet when I go into the transactions I only see one. Since it shows two entries the report is incorrect. Any ideas? Thanks, Jeff ...

Undeliverable Issue
I cannot for the life of me figure out the following. when I send a email to the a user on our network I get a undeliverable. what is weird is that he gets the message. While trying to fix the issue I killed his mailbox and recreated it allthough I may try that agian. Here is the undeliverable text: Your message did not reach some or all of the intended recipients. Subject: Accepted: BMP Tool Technical Discussion with Tetra Tech 703.385.6000 (Henry Manguerra's phone) Sent: 4/5/2006 9:36 AM The following recipient(s) could not be reached: Brendan Ferry on 4/5/20...

VCard issue #2
This is a weird problem, but when I send a vcard to someone, it shows up in my sent items as a vcf file, and has a vcard icon on it, but when the recipient gets the VCard, it shows up as msg file, with an envelope icon as the attachment. When I open it, nothing is there - it's empty. I can't find anything regarding this problem on google or MS's website. Anybody have any ideas? Is it a problem with Outlook? Do I need to do a detect and repair, a reinstallation? Thanks for your help! Does the same happen when you send a message to yourself? Is he/she able to see it w...

Decimal point/comma issue
If use a VBA form to fill out data which sometimes have a decimal separator. In Europe the comma is used as a decimal sign. However when I use a comma the value is interpreted as a text when the macro places the value in the spreadsheet. Only when I use the decimal point in the VBA form, the value is accepted as a value in the spreadsheet. Does this have to to with the MS Window settings or is it releated to my english Excel version? How can a prevent this problem without going into VBA code to tackle it? Thanks in advance Jan Bart You hit it. You're trying to use European data in a...

Make it more simple or intuitive to do simple things
I appreciate the fact that applications are becoming more versatile and able to do things that we hardly thought possible in the past but I feel that in this added complexity you are losing sight of the need to do simple things easily without resorting to trial and error or consulting "help" which often anyhow doesn't lead one straight to the solution! An example is how to produce a chart with a series of months i.e Jan Feb Mar etc appearing on the X axis. This is no doubt something that resulted naturally in the first versions of Excel charts or in a competitor's ea...

Current Issues Article Archive
A growing archive of fascinating media articles on current issues & affairs. Available at Arcis Foundation Website: www.arcis.co.uk/php/ -- Posted by News Bulk Poster Unregistered version ...

What is simple text?
When creating a custom list that includes a column of accounting formated data, I get an error message that 'fields without simple text will be ignored'. The result is all other data except the accounting formatted data. Help!!!! I suppose it means without the currency symbol and thousands delimiters. On Fri, 8 Apr 2005 11:01:04 -0700, TexMas <TexMas@discussions.microsoft.com> wrote: >When creating a custom list that includes a column of accounting formated >data, I get an error message that 'fields without simple text will be >ignored'. The result is ...

simple question
Okay, I have a very simple question. Where do the old posts go after they run off the last page of this newsgroup? Sometimes I would like to refer to a post that I remember seeing in October, but is no longer on the current section. The search function seems to only search current posts as well. If anyone has some input please email me at joep@siboneylg.com Thanks kindly. have you tried google groups, they keep archived old posts: http://groups.google.co.uk/groups?q=microsoft.public.greatplains&hl=en "Joe Proehl" <joep@siboneylg.com> wrote in message news:099701c5...

Simple Macro is not so simple
Hi all, I am trying to record a macro which will automatically perform the insert > comment function to a selected cell. Should be easy right? Alas no Danny There's sample code on my web site, for inserting comments: http://www.contextures.com/xlcomments03.html Aardvark wrote: > Hi all, > > I am trying to record a macro which will automatically perform the insert > > comment function to a selected cell. Should be easy right? Alas no -- Debra Dalgleish Excel FAQ, Tips & Book List http://www.contextures.com/tiptech.html Wow! Nice one :-) Thank you M...

Workflow monitored issues
The Scenerio: I have set a up a workflow for when a case is created to update a custom field for the case for how long it has been in an active state in hours. WHen the case is created, a workflow is kicked off. All that workflow does is call a manual workflow. In the manual workflow, a wait for timer for 1 hour is started, after 1 hour, if the case is active, I add 1 to the field and then recall my same manual step which will then wait for another hour and check the status of the case, etc, etc. until it is closed. The problem: For all cases that are created (except by me as a system a...

(Error 1004) Object Defined Error ...simple code
I have the following simple simple code: Dim s as String s = WeekdayName(1) ' Causes Error 1004 Why would the above call to "WeekdayName(1)" suddenly cause an Object Defined Error?? My program has been working nicely for awhile, but now all of a sudden it halts at the above line??? What the heck is going on??? Robert Crandal Hi Robert, It works fine for me. However, checking out Help, the first day of week parameter is supposed to default to Sunday (or 1) as the first day of the week but it appears to default to zero. Tested in xl2002 and x...

vb--simple simple
hi, anyone know how to copy a combobox selection to a specific cell b using vb code in a command box -- Message posted from http://www.ExcelForum.com i cant see this in the userform. i know you can do this with a normal combo box which is not in a for but lost when in a userform -- Message posted from http://www.ExcelForum.com What's a "command box"? Can you give an clear example of what you want to do? -- Jim Rech Excel MVP "stevieh >" <<stevieh.16v8yw@excelforum-nospam.com> wrote in message news:stevieh.16v8yw@excelforum-nospam.com... | hi, | |...

Help
Hi All, I'm posting out as I've been having some issues with 3 nearly identical clients ever since putting in SBS2008. They have proven very difficult to trace and resolve. Client 1 - SBS2008 new install, new domain etc on HPML110, 5 users Client 2 - SBS2008 migrated from SBS2003 via MS Migration on HPML150, 15 users with all new HP/WinXP workstations Client 3 - SBS2008 migrated from SBS2003 via Swing It! migration, on HP ML350G6, also about 15 users. All 3 have Sonicwall TZ series firewalls, HP gigabit switches, and use Windows XP and Office 2003. All use Exchange ...