A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Open Form Goto Object



 
 
Thread Tools Display Modes
  #1  
Old July 7th, 2009, 02:01 AM posted to microsoft.public.access
Bob Vance
external usenet poster
 
Posts: 726
Default Open Form Goto Object

I want a code for my control to Open another Form and goto a text box
"tbFocus"

--
Thanks in advance for any help with this......Bob
MS Access 2007 accdb
Windows XP Home Edition Ver 5.1 Service Pack 3


  #2  
Old July 7th, 2009, 03:17 AM posted to microsoft.public.access
Albert D. Kallal
external usenet poster
 
Posts: 2,874
Default Open Form Goto Object



Try:

docmd.Openform "frmCustomer"
forms!frmCustomer.tbFocus.SetFocus


--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada



  #3  
Old July 7th, 2009, 03:33 AM posted to microsoft.public.access
Bob Vance
external usenet poster
 
Posts: 726
Default Open Form Goto Object

IN a Word "BRILLIANT" Albert tried to find the code on the net but
Regards Bob

"Albert D. Kallal" wrote in message
...


Try:

docmd.Openform "frmCustomer"
forms!frmCustomer.tbFocus.SetFocus


--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada





 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:01 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.