microsoft+access+training+course - command move table objects
Microsoft Office Training verified by visa - mastercard securecode about microsoft training company london ukadd this page to your favourites/bookmarksAdd to favourites
view a printable version of this pagePrintable version
email this page to somebodyEmail this page
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access VBA Training and help » microsoft+access+training+course - Command to move to the Table objects window

microsoft+access+training+course - Command to move to the Table objects window

The UK's most regular instructor-led training courses.
Training information: microsoft+access+training+course · Access training · Microsoft Office VBA training

resolvedResolved · Low Priority · Version Standard

Command to move to the Table objects window

Iain has attended:
Access VBA course

by - delegate Iain [3 posts] (2008 Jan 8 Tue, 13:36) replyReply

Hi!

I've got a button on a form to close the form and I'd like to make it move to the Tables window when I click on it.

I tried...

DoCmd.GoToControl (Tables)

and

Dim db As Database
Set db = CurrentDb()

db.objects.Tables.SetFocus

...but neither worked.

Any ideas?

Thanks

Access Intermediate 1 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
2007 2008 Dec 5 Fri Bloomsbury 4 book now £224 £224
2003 2008 Dec 9 Tue Bloomsbury 0 FULL    
2002/XP 2008 Dec 11 Thu Tooting 0 FULL    
2003 2008 Dec 18 Thu Bloomsbury 2 book now £215 £215
2003 2008 Dec 23 Tue Bayswater 8 book now £182 £207
2002/XP 2008 Dec 24 Wed Tooting 0 FULL    
Full Schedule: See all 52 Access Intermediate course dates.
Bookings currently available until 24th November 2009.

RE: Command to move to the Table objects window

by - trainer Carlos gold contributer[479 posts] (2008 Feb 6 Wed, 16:47) replyReply

Hi Iain

I have looked at this and consulted with some collegues and the general opinion is you cannot use code to go to a specific view of the database.

This may be due to to the fact that in most Access databases the tables are hiden from the user.

Sorry if I couldn't help more

Carlos

RE: Command to move to the Table objects window

by - delegate Iain [3 posts] (2008 Apr 3 Thu, 10:40) replyReply

Carlos

I found the code that can do this in the Northwind db, so thought I'd post it in case its of use.

Private Sub cmdGoToTablesWindow_Click()

DoCmd.Close
DoCmd.SelectObject acTable, "Core", True

End Sub

...where "Core" is the name of one of your tables. I presume it will work for forms, reports etc.

Iain


Related articles

· How to Find a Third-Party Venue for Microsoft Access Training
· Turning your Spreadsheets into Interactive Data Warehouses with MS Access Courses
· Tips for designing databases in Microsoft Access
· Innovation with Microsoft Access
· How To Find Good Access Database Courses In London

Access tip:

Switchboard Startup

An option when you open your Access database that contains all of you tables, forms and queries is only the switchboard is displayed.

To achieve this, select Tools click on Startup. On the right hand side of the Startup screen you are able to select which form you want to open when you open you Access Database. Once you have selected this, there is a check box just below that says "Display Database Window", you need to uncheck this option. Then click ok.

Then when you close you Access database and re open it, the database should open with just the switchboard being shown


View all Access hints and tips

Rate this page:
4.0/5 (3 votes cast)
Institute of IT Training - Accredited Training Provider Microsoft Certified Partner
microsoft office
Microsoft Office Specialist Authorised Testing Centre (MOS and MCAS)

Prodigy Platinum Learning Partner

Institute of IT Training - Accredited Training Provider Association of Computer Trainers Valid HTML 4.01 Transitional
Valid CSS Markup

secure online payments - visa - mastercard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Training by application Main information pages See also

Access courses
DreamWeaver courses
Excel courses
MS Project courses
Outlook courses
PowerPoint courses
VBA courses
Word courses
(more...)

Public scheduled courses
On-site training
Closed company courses

Microsoft Office training
Pricing and availability
Training schedule
Training venues

Access training
Dreamweaver training
Excel training
MS Project training
PowerPoint training

London Computer Training
Computer Training London

Microsoft Access training
Microsoft Excel training
Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training

Time Management Course London

Interested in Access training? Please see the following pages:
microsoft access courses · microsoft training access course
microsoft+access+training · access courses in london

Training Information

Training Articles

AddThis Social Bookmark Button What's this?
Add to Del.icio.us Add to Facebook Add to Digg Add to Reddit Add to Google Add to Yahoo Add to Diigo Add to Mr. Wong Add to Linkarena Add to Power Oldie Add to Folkd Add to Jumptags Add to Upchuckr Add to Simpy Add to StumbleUpon Add to Slashdot Add to Netscape Add to Furl Add to Spurl Add to Blinklist Add to Blogmarks Add to Technorati Add to Newsvine Add to Blinkbits Add to Ma.Gnolia Add to Smarking Add to Netvouz