PC Review


Reply
Thread Tools Rate Thread

Custom ribbon Sort Ascending bug?

 
 
Adrian
Guest
Posts: n/a
 
      14th Mar 2009
Access 2007 and SQL Server 2000

I am trying to create a custom ribbon for an ADP. I can other commands to
work, but Sort By (Ascending or Descending) always remain greyed out. I have
googled this and found one or two other posts referring to this problem, but
no solution. This is the XML I am using.

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="true">
<qat>
<documentControls>
<button idMso="FilterBySelection"/>
<button idMso="ApplyFilter"/>
<separator id="sep221" />
<button idMso="AdpOutputOperationsSortAscending" enabled =
"true"/>
<button idMso="AdpOutputOperationsSortDescending"/>
<separator id="sep222" />
<button idMso="GoToNewRecord"/>
<button idMso="RecordsDeleteRecord"/>
</documentControls>
</qat>
<tabs>
<tab id="tabControls" label="Controls">
<group id="grpFilters" label="Filters">
<button idMso="FilterBySelection" size="large" label="Filter By
Selection" tag="RibbonName:=;inMenu:=;CustomPicture:=;CustomPicturePath:="
/>
<separator id="sep14" />
<button idMso="ApplyFilter" size="large" label="Apply Filter"
imageMso="FilterAdvancedByForm"
tag="RibbonName:=;inMenu:=;CustomPicture:=;CustomPicturePath:=" />
</group>
<group id="grpSorting" label="Sorting">
<button idMso="AdpOutputOperationsSortAscending" size="large"
label="Sort Asc"
tag="RibbonName:=;inMenu:=;CustomPicture:=;CustomPicturePath:=" />
<separator id="sep21" />
<button idMso="AdpOutputOperationsSortDescending" size="large"
label="Sort Desc"
tag="RibbonName:=;inMenu:=;CustomPicture:=;CustomPicturePath:=" />
</group>
<group id="grpRecordEditing" label="Record Editing">
<button idMso="GoToNewRecord" size="large" label="Add Record"
screentip="Adds a record"
tag="RibbonName:=;inMenu:=;CustomPicture:=;CustomPicturePath:=" />
<separator id="sep22" />
<button idMso="RecordsDeleteRecord" size="large" label="Delete
Record" tag="RibbonName:=;inMenu:=;CustomPicture:=;CustomPicturePath:=" />
</group>
</tab>
</tabs>
</ribbon>
</customUI>

Any suggestions welcome.

Thanks,

Adrian


 
Reply With Quote
 
 
 
 
New Member
Join Date: Jun 2009
Posts: 1
 
      3rd Jun 2009
Try this:

<control idMso="SortUp"/>
<control idMso="SortDown"/>.

(control instead of button and SortUp instead of AdpOutputOperationsSortAscending ).

Last edited by hrvoje; 3rd Jun 2009 at 03:00 PM..
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Row sort ascending Nathan Microsoft Excel Misc 1 24th Feb 2010 03:23 PM
Opening a report from the ribbon doesn't show it's custom ribbon =?Utf-8?B?QXJpYW4gR2VlcnRzZW1h?= Microsoft Access Reports 0 20th Aug 2007 11:34 AM
Ascending Sort formula, change to neg #: descending sort.. =?Utf-8?B?bmFzdGVjaA==?= Microsoft Excel Misc 6 2nd Jul 2007 11:00 PM
sort date ascending, if null value sort descending =?Utf-8?B?U3dpbWdpcmw=?= Microsoft Access Queries 2 16th Feb 2005 06:40 PM
sort ascending =?Utf-8?B?Sk9l?= Microsoft Access VBA Modules 2 1st Apr 2004 04:46 PM


Features
 

Advertising
 

Newsgroups
 


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