Modules & VBA :: Ignore / Override Form Ribbon Created For Users

Jan 27, 2014

I have created a ribbon for the users on all forms, and named that ribbon on each form. While I can bypass the Main ribbon (hiding backstage and most other tabs) by holding the shift key on open, the minute I open a form I am stuck with the very limited form ribbon I've named. Is there a programmatic way I can ignore this call, either when holding the shift key or some other avenue?

View Replies


ADVERTISEMENT

Modules & VBA :: Ignore Certain Events In A Form?

Apr 9, 2014

In my database I have module that checks if tick box is True and then closes all the forms and kicks the user out of the database. However in most of my forms, there is a custom Save command in the On Click of cmdSave button and the Form_BeforeUpdate. The save requires certain things to be true so naturally if a user has made a change to a record, the form won't allow you to close it if you haven't saved your changes or undone them.

Is there anyway I can get my module to bypass certain events in the form?

View 7 Replies View Related

Forms :: Restrict Ribbon Tabs To Users

Nov 29, 2014

I want to restrict the users to only be able to access certain tabs in the ribbon .example "user1" cannot access the external tab and the create tab, but can access all others.

View 9 Replies View Related

Modules & VBA :: Locked Database - Login Security With Created Form

Jun 18, 2013

I am looking to lock my database until the user puts in the correct credentials.

I have already put the form on Pop Up and Modal. They can still select the "X" in the top right of the window.

View 1 Replies View Related

Override Form Allow Edits With Code??

Oct 20, 2004

Greeting,
I am still struggling with my sub-form.
Have managed to prevent edit by using the form properties.
However I have some fields which have to be updated after the form has been closed.
I tried putting the following code in the (Before Update Event) of date issued field for instance.

If Me![DateIssued]=Null then
Me![DateIssued].Locked=False
end if

Needless to say this didn't help.

I have some fields which cannot be filled in until a later date.
These are job records so I have date open, Technician name date completed plus a whole herd of other stuff which has to be filled in as the job progresses.

Any help will be most appreciated,
Brian.
Zimbabwe

View 6 Replies View Related

Modules & VBA :: Import To Access Table From Excel - Ignore Duplicates

May 6, 2015

I have code written which imports excel data to a access table but after the first import it fails due to duplicates, how can i tell it to ignore duplicates in the table and only copy new records?

code is below.

Code:
Function SyncEmployes()
Dim lngColumn As Long
Dim xlx As Object, xlw As Object, xls As Object, xlc As Object

[Code].....

View 6 Replies View Related

Modules & VBA :: Ignore Date Fields In Table When Counting Records?

Jun 6, 2014

Suppose I have a table with a variety of fields; one autonumber, some text fields and some date fields.

I need code to calculate the number of fields that are NOT date fields and then code to count how many of those fields (the ones that are not date fields) have data in them.

Following is the code to count how many fields in a table had data and this works well, but now I need to find a way to ignore the date fields. How can this code be modified to do the same but ignore the date fields?

Code:
Public Function PercentCompleted(Table As String, IDProject As Long, TotalFields As Single) As Double

Dim sampO As DAO.Recordset, iCtr As Long, strSQL As String, Percent As Double
'Takes the fields based on the projectID
strSQL = "SELECT *" & _
"FROM " & Table & " WHERE IDProject = " & IDProject
Set sampO = CurrentDb.OpenRecordset(strSQL)

[code]....

View 13 Replies View Related

Modules & VBA :: Ribbon Won't Hide

Mar 12, 2014

There seems to be some inconsistency in controlling the ribbons in Access 2013.I have managed to use the USysRibbons custom table and XLM to hide the ribbon in one app, but when I set the same config up in another db's the ribbon wont hide.

I've then made an empty db and tried in this and it still wont hide.What are the "current db" setting that must be set to make the ribbon hide?

View 3 Replies View Related

Modules & VBA :: Login Form And Users Permissions

Mar 30, 2014

I have been searching for info with users & permission levels. I have ready a lot about ULS (User Level Security) which doesnt seem to be my answer as I do not have admin rights and I believe it is not suitable with Access 2010.

Basically I have an 2010 Access database which is used by my department as a project management tool. It has various tables, forms, queries & reports, I have created a table with user names & passwords and a login form. So when the databases opens the login form is launched & the users selects their user name & enters their password, then the main menu is shown.

Everything works really well, but as the moment there is no difference between all the users. All I want to do is to be able to make one of the Logins read only, ie if the Reviewer is logged in they can see & read every form and run every report but they can not make any edits.

View 5 Replies View Related

Modules & VBA :: Xml To Create A Ribbon For Sort And Filter

Dec 27, 2013

I use the following xml to create a ribbon for Sort and Filter

Code:

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="true">
<tabs>
<tab idMso="TabCreate" visible="false" />
<tab id="dbSearchtab" label="Sort and Filter" visible="true">
<group id="SearchScreenSort" label="Sort and Filter">

[code]....

The first problem is that this ribbon appears in forms where it is not included.The second problem is that in addition to the "File and Filter" tab, there appears a "File" tab Whe you click on it is goes backstage allowing you to Print and Exit.

View 2 Replies View Related

Modules & VBA :: Hiding File Tab On Ribbon Menu

Feb 5, 2014

moving my database from 2003 to 2010 and I'm wanting to use custom tool bars that I created in 2003 to run searches Doing this I hide the ribbon, including the 'File' tab is this possible?

View 1 Replies View Related

Modules & VBA :: Automate Access 2007 Queries With Form For Users?

Oct 18, 2013

I've been using Access 2007 to run queries on a database where we eventually export results as separate Excel spreadsheets for individual clients. The process is quite involved, using queries to change fields from code letters to words and splitting the database up into different client tables, saving the tables under date order and with different client codes.

I now need to pass this role on to colleagues, so need to make everything as straightforward as possible.

I had thought to use a Form as the user interface, with a minimum number of buttons, however I need either the system or the user to amend the date for the initial table, then to use this new table and run a series of standard queries on it, then produce the separate tables.

I don't think I can just use macros behind the buttons, because the database name is changing each time.

I assume some parts will be too tricky to automate - it will be necessary for colleagues to follow instructions instead.....

View 2 Replies View Related

Modules & VBA :: Check For Specific Version Of A Ribbon To Connect To Database?

Sep 2, 2014

I have been trying to come up with a solution for a problem I am having for a while to no avail. We have a backend database that stores various tables full of data. We then have a custom Excel Ribbon that connects to the database and pulls in the different tables depending on the user selection form the ribbon. Everything is working well on that end. The problem I am running into though is that in the development phase of the ribbon and database we had multiple versions and so there are still some people who are using old versions of the ribbon and therefore not connecting properly to the database. Is there some type of code I can add into the database and ribbon where it checks for a specific version to ensure the user is using the most recent version?

Basically, before any type of query is run to connect to the database the ribbon would have some sort of label on it somewhere and the database would check for that label and if it is correct, the code proceeds and if not a message box appears that tells the user they are not using the most current version of the ribbon and exits the sub?

View 5 Replies View Related

Modules & VBA :: Access 2007 - Retrieve Current User And Show Ribbon

Oct 7, 2013

I want to show one ribbon for any user level.

Into attach file I use a UserTable to test different user/level.

I retrieve this error: Error 438"Object Doesn't Support This Property or Method" ...

View 2 Replies View Related

Forms :: Form Filtering From Ribbon

May 15, 2015

I can't figure out Form Filters. Basically I have a load of controls on the form. The first control I select I'm able to click the Filter button on the Ribbon and get shown a load of checkboxes to filter the field on (see capture.png)On subsequent controls, clicking the Filter button on the ribbon doesn't show the checkboxes for that control (see capture2.png).

View 6 Replies View Related

Open Form Only Hide Ribbon Bar

May 22, 2013

I have a small access project completed for my office, I have almost everything turned off so only the user can see the main form, but I can't figure out how to hide the ribbon bar on the top, can you do this. This is access 2010 by the way.

View 3 Replies View Related

Modules & VBA :: Message Box To Display Records That Have Just Been Created

Jul 24, 2015

I have a button that duplicates records 'X' amount of times based on a value in a text box.

I need a message box to advise the user that they have created record number from - to

Eg

User creates 5 records - first record created has a auto number of 3200

I need the message box to say 'you have just created records 3200 - 3204

Is this possible?

Here is the current code on the duplicate button courtesy of Uncle Gizmo

Private Sub AddRecord_Click()
On Error GoTo AddRecord_Click_Err
Dim x As Integer
For x = 1 To (Me.txtAmount.Value - 1)
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdCopy

[Code] ....

View 2 Replies View Related

Modules & VBA :: Function To Find ACCDB File Date Created?

Jun 5, 2014

Is there a function I could use to find the date listed in the "date created" property of an Access file?

View 4 Replies View Related

Forms :: Datasheet View - Specify Ribbon To Open On Form Load

Aug 11, 2015

When you open a form in datasheet view, the default ribbon is of course the "Datasheet" tab. I would rather have the "Home" tab ribbon open up, because I have one field in this form set up as hyperlinks to open another form, so the filter and search buttons would be more useful to the user. I'd rather not go to the trouble to create a custom ribbon, so is there anyway to set the default ribbon tab to "Home" when you load the form? There is a ribbon property for the form, but I don't know the reference name for the tab.

View 5 Replies View Related

General :: Hide Table Pane Navigation Ribbon And Main Form Tab

Jun 2, 2015

i have built an application , all i have is one main form and every action take place inside it. Before making it as .accde file for code protection, i want to hide table pane, navigation ribbon, the Main form Tab. i.e only Main form should open like a applicaiton and not inside access as a tab.

View 1 Replies View Related

Modules & VBA :: Create And Open Variable Folders With Link Created In Access Query

Aug 5, 2014

I am trying to set up something to be able to take me to a folder that holds various forms for personnel. I have a query that generates the link for each person. I have tried to set it up as a hyperlink in ACCESS 2013 and it displays as one but doesn't act like one.

I want to be able to click the link and have it open up a personnel folder for that individual. I can't find a MACRO that I can create to do it. Example of my query is that it creates a link K:Main BreakdownSection BreakdownPersonnel FoldersName and the name is the variable part.

My next problem will be to have it create that folder when we have new personnel arriving.

I would also note that I have not worked with ACCESS in many years and much of what I was able to do with 2002 and 2003 doesn't work with the newer versions of ACCESS.

View 3 Replies View Related

Override AutoNumber

Nov 9, 2006

Hi all.

I have inherited a database which contains a table of tasks and where the TaskID is an autonumber. Quite a bit of code has been written that refers to specific values but unfortunately one of those is not contained within the table (for background the reference is 10 and where the current value is now 1683).
So, I want to add TaskID 10 but of course I cant be specific about that value. If I change the field to be just a number, I can add the record but then of course Access won't allow me to change it back to AutoNumber.

Any ideas?

Regards,

Gordon

View 5 Replies View Related

Override A Calculation

Dec 6, 2006

i have a database form with a field called commitment fee

in that field is a calculation

=-IIf([Type of finance]="Term Loan",([Total amount requested]*0.015),-([Total amount requested]*0.01))

But sometimes i want to be able to override this and input a different value like 0.00 if the amount has been paid.

any ideas what the code would be for this

regards
chris

View 1 Replies View Related

Override Required Fields

Aug 30, 2007

Well guys, I don't know if this is possible or not, but maybe someone can guide me in the right path.

I have a data entry form that several employees use. I have certain required fields that are set on the form level. I have couple employees that I would like to have the ability to override these fields. I was thinking like using F10 key or other key combinations that will allow them to override the required fields in order to save the record.

Is this something realistic that I can accomplish in access, and if so, does anyone have a sample that can help me with this task? Thanks to all.

View 8 Replies View Related

Override Event With Function Key

Nov 26, 2005

I am attempting to duplicate a feature of some software I use in my office. Been pretty easy so far because this software is built on Access. So here it is...... I have fields with names, job names in this case. Call it "JobDescription" MOST times I will want proper case, so I put ........Private Sub JobDescription_AfterUpdate()[JobDescription] = StrConv([JobDescription], vbProperCase)End SubThat works fine. But there are times you want to override this code.... The program I am imitating does this by using the "F10" key to move to the next field instead of the tab key. My question is what code to put on the F10 key to skip the "vbProperCase" code??

View 1 Replies View Related

Override Max Width In Reports

Jan 27, 2005

I have a report that i need to extend past the 22" margins currently allowed but have not been able to find a way to reset this value I would require at least double the width. Any suggestions.

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved