Restrict access to and Highlight Tab in Microsoft Access - vba

I am working on a form with 3 tabs and what I would like to do is either restrict access of other tabs until user provides information on Tab Page 1 or make the other tabs invisible until User provides correct information on Tab Page 1. I am new to building forms in MS Access. How do I accomplish this?

You can refer to pages of the tab control, and you can refer to controls on the tab control by name:
Me.Page24.Visible = (Not IsNull(Me.ID))
There is no need to reference a page to reference a control on that page.

Related

Switch form shown within navigation tab (MS Access 2016)

I've been spending a while learning access and I have a question that may or maynot be possible. Ive written code that moves between access forms by running queries, opening a new form and then closing the old one (with a back button on the new page to close down the form and re-open the old one) so that people can navigate between different pages.
However, I am now trying out a navigation pane and wonder if there is a way to switch the form shown within the navigation pane tab so that different panes have different forms that can be switched between quickly?

Access vba go to next tab in tabbed userform

I created a userform with navigation from access toolbar.
I need to define a button that moves to the next tab in the navigation.
The element that handles tabs is named navigationcontrol.
I read the referance page (https://msdn.microsoft.com/en-us/library/office/ff851947(v=office.14).aspx) few times. I was not able to find a method or property to change the current tab. I example I found on the internet were not working on the new access.
Any help would be appreciated.
You need a couple of information: 1) name of tab control (not name of tab) and 2) value of tab you want selected (fyi - each tab is designated a page index number starting from 0).
Behind your button click event, simply type.
Relative reference:
Me.tabctrlname = integervalueoftab
Absolute reference:
Forms!yourfrmname!tabctrlname = integervalueoftab

How do I add a global button (for all entities) on the CRM 2013 Command Bar

I want to create a global button for all the entities.
I tried the following:
Created a sample solution with entity Application Ribbon
Opened the Application Ribbon Entity in Ribbon Workbench
Under Command Bar -> Home . Placed a button besides New Record
However after publish I am not able to view the button.
How do I resolve this?
The answer is from Mithilesh Kumar, and can be found on this page:
https://community.dynamics.com/crm/f/117/t/155542
You need to find the Group where you want to show the Button.
If you want to show on the Home Page for all Entity, find the Group as below and place the Button in this Group.
If you want to show in the Forms of all Entity, you need to place in the Group in the Form Area, shown below
Hope that clarifies
Modifying the XML you need to rely on the {!EntityLogicalName} keyword inside the location.
You can find a tutorial here:
http://blog.webfortis.com/adding-global-ribbon-buttons-for-all-entities-in-dynamics-crm

Custom Menu in SharePoint 2010

I am working with SharePoint 2010. I am looking for creating a custom menu that could be placed on Master page of my site collection. Could you please give me a start on this. I don't want to use existing menus on default master page. I would rather like to have my own master page with my custom menu links with sub menus.
A basic idea would be that I will have a XML file with menu items defined I want to give liberty to the user to make changes to XML file somehow that add/edit or remove the links. Also I want the menu to be user role based (Items could be disabled for unauthorized users).

SharePoint 2010 custom display form like publishing page?

I want to display a list item in a different detail page, not dispform.aspx, not in modalbox. Page must be inherit site masterpage, layout page and must be in portal sitemap like publishing page.
Breadcrumb must be like this:
Company Intranet > Announcements > Product request formm updated!
Is there any way for do that?
Chaning the System Master to publishing master page will render all the forms with Same UI as you see in Home page.
You can change it in this Location http://yousite/_layouts/ChangeSiteMasterPage.aspx You have to do this in site where you what to see this change.
To Prevent the popup forms Go to List Settings->Advanced Settings and turn off the Dialog.
Also to change default Form of List you have multiple forms
Create a New Form (Link is for 2007 same applies for 2010 as well) in SharePoint Designer and Associate it to the List.
Use Infopath to create a Custom Form
Develop a new Webpart that will do Add Edit etc and Add it to the Default Forms.