J
José António Silva
Hello,
I have built a ribbon with the following xml. Everything is Ok except that
the ViewsFormView button doesn’t appear in run-time mode. That is when I
rename my accdb to accdr. All the other buttons (data sheet view and the two
pivots) work fine in spite I don’t need them.
What I really need is to display forms in Form View and then, let the user
change to data sheet view. So far so good! But I have to let the user change
back to form view, when he wants. This is my problem!!!!
Anyone knows why Access hides the Form View button in run-time mode?
I have in the same accdb an old 2003 toolbar with both buttons (form view
and data sheet view) and it continues working fine even in run-time mode.
I am sure that all the views are permitted in my forms.
P.S. – Maybe it’s good to say that the group GroupViews (which is the Access
group that contains all view buttons) referred below in xml doesn’t display
any button at all, when in run-time mode. This must be related with my main
problem and also doesn’t make sense, because the datasheet and the two pivots
appear in my Grp1.
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="true">
<tabs>
<tab id="Tab1" label="Data Management">
<group idMso="GroupViews" />
<group id="Grp1" label="Views">
<toggleButton idMso="ViewsFormView" size="large" />
<toggleButton idMso="ViewsDatasheetView" size="large" />
<toggleButton idMso="ViewsPivotChartView" size="large" />
<toggleButton idMso="ViewsPivotTableView" size="large" />
</group>
</tab>
</tabs>
</ribbon>
</customUI>
I have built a ribbon with the following xml. Everything is Ok except that
the ViewsFormView button doesn’t appear in run-time mode. That is when I
rename my accdb to accdr. All the other buttons (data sheet view and the two
pivots) work fine in spite I don’t need them.
What I really need is to display forms in Form View and then, let the user
change to data sheet view. So far so good! But I have to let the user change
back to form view, when he wants. This is my problem!!!!
Anyone knows why Access hides the Form View button in run-time mode?
I have in the same accdb an old 2003 toolbar with both buttons (form view
and data sheet view) and it continues working fine even in run-time mode.
I am sure that all the views are permitted in my forms.
P.S. – Maybe it’s good to say that the group GroupViews (which is the Access
group that contains all view buttons) referred below in xml doesn’t display
any button at all, when in run-time mode. This must be related with my main
problem and also doesn’t make sense, because the datasheet and the two pivots
appear in my Grp1.
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="true">
<tabs>
<tab id="Tab1" label="Data Management">
<group idMso="GroupViews" />
<group id="Grp1" label="Views">
<toggleButton idMso="ViewsFormView" size="large" />
<toggleButton idMso="ViewsDatasheetView" size="large" />
<toggleButton idMso="ViewsPivotChartView" size="large" />
<toggleButton idMso="ViewsPivotTableView" size="large" />
</group>
</tab>
</tabs>
</ribbon>
</customUI>