473,395 Members | 1,649 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

form control restrictions

There is a control on a form that I want to give only certains users
permission to enter data. Basically this field if to be signed by a
manager. I want to perhaps ask for a 4 digit pwd or something when this
field gets focus. Can this be done with macros, or do I have to use VB
for it. Not familiar with VB, please advise.
Thnx
Nawab

Nov 13 '05 #1
1 1173
"Nawab" wrote
There is a control on a form that
I want to give only certains users
permission to enter data. Basically
this field if to be signed by a
manager. I want to perhaps ask for
a 4 digit pwd or something when this
field gets focus. Can this be done
with macros, or do I have to use VB
for it. Not familiar with VB, please
advise.


You could ask for the code using an Input Box, in the Click event of the
Control. That, I am sure, could be done with a macro. The problem, of
course, is how you are then going to check that the password is a valid one.
What you describe is a kind of "security lite" that will be easy to break.
Even Access' own security is not foolproof, but it would be much harder to
break than your own password list.

It does sound like something more complicated than simple macros. Because
macros do not support error handling, I haven't used any for years except
AutoExec and AutoKeys, so perhaps someone with more recent experience can
give you a "macro solution".

Larry Linson
Microsoft Access MVP
Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: cube | last post by:
Hi I've got a problem. I try to create new WindowsForm in thread and show them. Everything is ok, but new form after Show() freeze :( Maybe somebody tell me why and how to fix this error.
10
by: dan | last post by:
I have a script that selects a value in an option in a selection list according to how many letters were entered in an input box. I have it working but I am limited to what I can name the form...
4
by: CK | last post by:
Hi all, I know this question is stupid. But i need some advice for this. I am trying to develop a website, which will allow the user send to order form to the admin email. I am planning to use the...
1
by: Krich | last post by:
Can I control what and how to print the data from my web form project via client's printer? Something like using printdocument object. I don't want to use print command from browser program.
2
by: MadMikey | last post by:
Can I change the order that controls are defined, or built, in the "Windows Form Designer generated code" section? I'm using VB.NET 2003. I have a custom control, that due to licensing...
17
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I get the value of a form control? -----------------------------------------------------------------------...
10
by: John Brown | last post by:
Hi there, Does anyone know how to (generically) determine the currently active form for an application using a "static" function (so I can call it from anywhere). There is no offiical way I've...
3
by: LeftyRight | last post by:
H E L P !!!! My XP operating system has lost the control panel in standard operating mode. It can only be found in SAFE MODE. In my folder options dialog box the “ Show Control Panel in My Computer...
2
by: adwest | last post by:
Forgive me if this is a foolish question. I "play" in Access and have only created a few rather simple relational databases. My knowledge and experience is limited. I have no formal training, just...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.