General :: Lock / Unlock Full Menu Based On A Password

Sep 28, 2014

I want to lock down and unlock the full menu based on a password..

For instance upon load of the database I would like it stripped down when a general user logs in... but if a admin logins in then they get all menus...

so based on the user type will dictate the menus visible.. cane this be achieved'''''''''''';

View Replies


ADVERTISEMENT

Forms :: Lock / Unlock Textboxes Based On Option Button?

May 11, 2014

I have a form with 2 option buttons on it one with year 12 on it and one with year 13. I have a simple form with drop down menus and text boxes allocated for year 12s and 13s. I want all of the year 13 text boxes and drop down lists to be locked if year 12 is selected and I want all of the year 12 text boxes and drop down lists to be locked if year 13 is selected. I do not want to over complicate the form by hiding parts of it or having a new form open depending on the option button selected.

View 9 Replies View Related

Lock / Unlock Form

Jun 19, 2006

Hi,

I am trying to open my form locked and have the uers click a button to unlock the form to enter data. The way i do it now is have 2 forms one set to allow edits "yes" the other set to "no" and then have a button for each

This is working ok but i would like to tidy things up a bit and get it to one button.

I struggle with programming but i will do my best to understand any posts.

Thxs for any help

Adz

View 1 Replies View Related

Unlock Vbe Password

Aug 3, 2005

Hi:

i have a MS Access aplication that have a vba code with a password.

Now i have a patch (in MS Access too) that will upload this full aplication, but when i try to copy a form didnt work. This is because have password in the vbe code.
someone knows how can i unlock the vbe before update the form and after update the from lock in VBA language?

thanks

View 1 Replies View Related

Forms :: Lock / Unlock Form AND Subforms From Editing Data

Mar 24, 2014

I have a form with several subforms within (tabbed subforms). I've used the code:

In the Current event of the parent form -

Code:
Me.AllowEdits = False
Me.AllowDeletions = False
Me.AllowAdditions = False

In the Current event of each of the subforms -

Code: (THIS NEVER WORKS FOR ME - RUNTIME ERROR)
Me.AllowEdits = Me.Parent.AllowEdits
Me.AllowDeletions = Me.Parent.AllowDeletions
Me.AllowAdditions = Me.Parent.AllowAdditions

In the Click event of the button -

Code:
Me.AllowEdits = True
Me.AllowDeletions = True
Me.AllowAdditions = True

So the main form is locked upon opening and unlocked with the click of an unlock button. How to apply this to the subforms as well. They just stayed unlocked the whole time.

View 14 Replies View Related

How To Show A Full Menu On The Menu Bar

Feb 19, 2007

Hi everyone,
I was trying out the options on the startup item of the tools item on the menu bar and my access window has gone except the following menu items: File,Window and Help.
Can someone kindly show me how to bring back these seemingly lost items?
Thank you for your willingness to help me out!

View 2 Replies View Related

Forms :: Command Button To Unlock And Lock Fields / Edit Button?

Feb 19, 2014

I have created a web-database (? - There are globes over all the forms and tables icons) based on the Issues & Tasks template. This means that most of the data is entered and seen on the "Main" form, which has two tabs - Open Issues and Closed Issues. I have created a form that allows people at my work to input the necessary data and save it, so that it will show up on one of the two tabs. However, once a record has been created, I want to be initially locked if the ID/PK is clicked, so that data can't be changed or entered inadvertently.

SO, I changed the code so that when the ID/PK for a record is clicked, it brings up a different form, but one that looks exactly like the one that is brought up when entering a new form, but I locked all of the fields so that the information cannot be changed. It seems from what I have read that I can create a button on this form so that when clicked, it unlocks the fields on the form so that they can be changed, and then when clicked again it will lock the fields again. Is this true? If so, how can I do it? Or is there something similar I can do? I have seen codes that I could copy and paste, but I cannot figure out the place to copy and paste codes in Access 2010.

I have changed the Form properties so that Data Entry and all the "Allows" are set to No...

View 9 Replies View Related

'Lock' Switchboard Or Form As Full Screen

Feb 28, 2006

Apologies if I am covering old ground here but unfortunately I cannot find a suitable solution after searching the forum.

Basically my switchboard on Open includes DoCmd.Maximize so that the switchboard does indeed open on full screen. However, say I then leave my database open and work on a different application on my PC then when I click on my database on the taskbar then the form is not longer full screen.

So what I am basically asking is, is there a way of 'locking' it to appear full screen even if I flick between applications on my PC?

Many thanks in advance,

Paul.

View 6 Replies View Related

RUSH! Enable Full Menu And Toolbars

Oct 28, 2004

Hello..

How do I regain the full menu bar in my dbase. I had unclicked "Allow Full Menus" and "Allow Default Shortcut Menus" and now I need to regain those features.


Help!
Diana

View 4 Replies View Related

Forms :: Unlock Form Based On Combo Box Selection

Mar 17, 2014

I have two forms linked together.

frmMaterialRequest
MaterialRequest
Status

frmHandledBy
MaterialRequest
HandledBy

What I want is to meet the following:

- Form 2 to be locked but its "MaterialRequest" is enabled.
- HandledBy to be unlocked if the MaterialRequest meets the "Status" of "frmMaterialRequest" which is "Approved".

View 9 Replies View Related

General :: Creating A Database Full Of Contacts

Jan 2, 2014

I'm creating a database full of contacts. I have a contacts table with detailed info on each contact and I also have a company table with details on each company - all companies attached to a contact are in the company table plus a few others. I'd like to be able to pull up a company profile and see all the contacts we have associated with that company displayed in a list.

View 1 Replies View Related

General :: Previewing Forms Full Frame While Designing?

Oct 17, 2014

Is there a way to preview a form you are designing to see how it will look when it's full frame?

View 12 Replies View Related

Forms :: Lock Button Based On Subform Cell Value

Aug 30, 2014

I got a problem about form designing. i need to disable my Close Command button while my subform Price cell is null and enable the Delete button.

And while delete button is pressed the delete action occurred and close button enabled.

View 12 Replies View Related

Modules & VBA :: Lock Certain Fields On Form Based On Value In A Particular Field

Aug 4, 2015

I'm trying to lock certain fields on my form based on the value in a particular field. It seems to work the first time but applies itself to all other records in the database from then on!

The starting point is a command button that sends an email and makes Me.DPLLock = 1. The corresponding table entry is formatted as a number.

The code is...

Private Sub Form_Current()
If Me.DPLLock = 1 Then
Me.OR_Name.Locked = True
Me.OR_Sales_Order.Locked = True
Me.OR_WO_No.Locked = True
Me.OR_Qty.Locked = True

[Code] ....

Ive tried Me!DPLLock with the same result.

View 7 Replies View Related

Forms :: Disable / Lock Fields On Form And Subform Based On Checkbox

Feb 15, 2014

I am trying to lock records on a form and subform after a checkbox has been ticked, have used the code below from a previous post.

Private Sub Form_Current()
If Locked = -1 Then
Me.AllowEdits = False
Me.AllowAdditions = False
Me.AllowDeletions = False

[Code] .....

This is locking the Main form records is there a way to code this so that the fields on the subform are also locked when the checkbox is ticked?

View 7 Replies View Related

Sub Menu In Form Based On Above Field

Feb 21, 2005

Hi it possible for lookup in 1 column to be dependant on the lookup on another columns depending on what is clicked in a form to make it easier

brand table
field 1: Number auto
field 2: Drink linked to lookup table called
drinks
field 3: type of drink linked to lookup table called
subdrinks

Drinks table
Pepsi
Coke
other

Subdrinks table
original coke cola
diet coke
coke with vanilla
coke with lemon
original pepsi
diet pepsi
persi max
pepsi with lemon

now in a form looking at the brand table. the person clicks on Drinks = picks coke from drop down menu
what I need is if the person picks on coke the next drop down menu type of drink it should only show those related to coke.
original coke cola
diet coke
coke with vanilla
coke with lemon
what i am getting is the second drop down shows everyhting and if the user makes a mistake the reports ie chose coke but in the next field chooses diet pepsi, the data does not make any sense. is there any way to limit the second drop down based on the choice in the first drop down.if there are any ideas to help in this matter maybe some VBA or macro may be required, i am not too sure open for suggestions and help would be appreciated.
Thanks

View 1 Replies View Related

General :: How To Lock Access DB

Jun 6, 2014

how to lock access DB Tables ,Queries, Report so other's can not import them to other access database (without encrypting my database with password ).I've noticed when forms have VBA codes it cant be imported if they locked by password(VBA) !

View 7 Replies View Related

General :: Possible To Lock View Design

Jan 16, 2015

is it possible to lock the " view design" the user at present could run a query and the view the design and change it.

View 2 Replies View Related

General :: Lock A Table In MS Access?

Aug 29, 2014

Is it possible to lock a table/macros/forms/reports in MS Access?

View 3 Replies View Related

General :: Lock Record After Approval

Jan 26, 2015

Is there a way that when I field gets a password entered into a field the form can be locked so nothing on that record or subform linking to that record can be altered ...

View 7 Replies View Related

General :: Lock Picture Of Employee In A Form?

Apr 11, 2013

How can I lock a picture of an employee to his Employee record?

View 5 Replies View Related

General :: Lock The Open Navigation Pane?

Jan 9, 2014

I want to keep the navigation pane open for use by the users, but I want it locked so that the users can't click on the top menu and change the pane's display from All Access objects to any of the other choices.

LockNavigationPane set to Yes is not the solution as this only prevents people adding, deleting and moving objects (such as tables/querys/forms).

View 6 Replies View Related

General :: How To Count Fields With Records And Lock Them

Feb 11, 2014

I have a terrible skill in this but I am doing my best to find ways. But I am running out of time in the development stage. I have the following form and table:

Tables:
Eqpt
EqptHistory

Forms:
frmEqpt
frmHistory

frmEqpt is the Mother form and frmHistory is the subform connected thru eqptID. Now what I want to do is count the records in the frmHistory and Locked the fields for editing. If it is new records, the fields will automatically unlock.

How do I do that because I can't find a way to count the fields with records and lock them.

View 9 Replies View Related

General :: VBA To Lock Bound Date Box On Form

Feb 19, 2013

i want to use vba to lock or diable a date box on my form.

I have used[button].Enabled = False

This works ok for buttons but doesn't seem to work for my date

fieldMe.OrderDate.Enabled = False

I get an errormethod or data member not found. it highlights the .Enabled part...

View 7 Replies View Related

General :: Lock Date In Table And Query

Feb 11, 2014

I have a field that generates a date from when the first input is put into another field.

I know and can lock the "date" field in the form but is it possible to lock that date in the table and query?

View 1 Replies View Related

General :: Lock Individual Records After Saving

May 4, 2014

I have 4 users all with the same rights. What I want to do is lock each individual record created by each user from the other 3 users after they have been saved ( I am not referring to record locking/table locking while updating/creating ). i.e., They can all read each others created records BUT only update/modify their own created records. They all have individual passwords to log in.

View 4 Replies View Related







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