Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 29th, 2007, 05:34 PM
Registered User
 
Join Date: Oct 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Access 2007 Ribbons?

I have a application in which I created the table USysRibbons and inserted a record containing the xml code for a custom ribbon. However, when I attempt to assign the ribbon to the application or a form, it does not appear in the pulldown to allow me to select it. Any thoughts would be appreciated.

Bill

 
Old October 30th, 2007, 11:02 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Are you using the correct schema reference: http://www.microsoft.com/downloads/d...DisplayLang=en

I assume the USysRibbons table is local to the database, and not on a back end somewhere.

Here is the proper table format:
USysRibbons
   RibbonName TEXT (255) PRIMARY KEY,
   RibbonXml MEMO

Also, to see the errors, you must enable the Show Add-In User Interface Errors option in the General section of the Advanced group of the Access Options dialog box. This may show you why the ribbon is not loading.

When you get this working, you can create a file called Blank12.accdb in Office\Templates, and everytime you create a new database, Access uses that as the Blank template. Put your ribbons in that file (you will have to create the file). This works like master in SQL Server.

See: Chapter 12 - Customizing the Ribbon
Access 2007 VBA Programmer's Reference

Did any of that help?


mmcdonal

Look it up at: http://wrox.books24x7.com
 
Old October 30th, 2007, 11:03 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Also, did you point it to your customui.xsd file?


mmcdonal

Look it up at: http://wrox.books24x7.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Access 2007 JohnBoy VB.NET 2002/2003 Basics 1 March 16th, 2008 09:33 PM
http addresses in xml file for Access Ribbons bgnetman XML 3 October 23rd, 2007 11:47 AM
Design Schemes on Access 2007 mruschetti BOOK: Expert One-on-One Access Application Development 0 October 20th, 2007 07:47 AM
Access 2007 security warning tang_moor Access 1 February 8th, 2007 08:23 AM
Access 2007 - wtf? mmcdonal Access 7 December 19th, 2006 08:45 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.