473,385 Members | 1,329 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,385 software developers and data experts.

How can I mask data in a query?

Hi all,

I'm a beginner in ms access, and I'm working on my first real
application. But to finish it up I'm facing a problem. I'm not able to
solve and maybe someone can help me.
I have made a database that can be divided in two major parts:
1. entering data
2. reading the entered data.

Everybody who uses the database has access to the second part. The
first part is reserved for a couple of users. They only have access to
a predefined section of the database. To enter this section they need
to enter their individual password. I have built this feature based on
a query, that asks for a password, as soon the query is started. When
then pasword is entered, the user only get access to those elements
that are linked with that password in a table.
It's no problem to store these passwords in a table, and make them
unreadable for other people, if they should ever get in the table
section. I have used the option 'password' in the input-mask of the
password field. But what doesn't work is the following: when the user
enters his passwoord in the pop-up screen of the query, he can read
what he's entering. I would like to mask this input with '*', as
usually when a pasword is entered.
Does anyone know how I can do that, or do I have to go a completely
different way to make such thing work?

Francis.
Nov 12 '05 #1
2 7038
Mal
Use a form (even a very small one - just for entering this info) and have an
unbound text field. You can set its mask to password and you'll get what you
want.
When "Ok" or "enter" is hit (a button you add to the form) the query is
launched
instead of having a [Enter Password] as the query criteria, you refer back
to the form
[forms!someForm!myPasswordField] as the criteria.

HTH
Mal.
"Francis Debrabandere" <fr*****************@hotmail.com> wrote in message
news:48**************************@posting.google.c om...
Hi all,

I'm a beginner in ms access, and I'm working on my first real
application. But to finish it up I'm facing a problem. I'm not able to
solve and maybe someone can help me.
I have made a database that can be divided in two major parts:
1. entering data
2. reading the entered data.

Everybody who uses the database has access to the second part. The
first part is reserved for a couple of users. They only have access to
a predefined section of the database. To enter this section they need
to enter their individual password. I have built this feature based on
a query, that asks for a password, as soon the query is started. When
then pasword is entered, the user only get access to those elements
that are linked with that password in a table.
It's no problem to store these passwords in a table, and make them
unreadable for other people, if they should ever get in the table
section. I have used the option 'password' in the input-mask of the
password field. But what doesn't work is the following: when the user
enters his passwoord in the pop-up screen of the query, he can read
what he's entering. I would like to mask this input with '*', as
usually when a pasword is entered.
Does anyone know how I can do that, or do I have to go a completely
different way to make such thing work?

Francis.

Nov 12 '05 #2
Francis,
Access' QBE grid allows captions and input masks to be defined for queries.
If you right-click on a column in the QBE grid and select properties, it's
one of the properties on the property sheet that shows up. You can also
define your input mask in the design view of a table created in Access.
Another poster here talked about forms but from your post it appears that
users are attempting an end-run around your forms and trying to open the
data directly--bad user--but it happens. Define the input mask in the query
and you should be fine.

"Francis Debrabandere" <fr*****************@hotmail.com> wrote in message
news:48**************************@posting.google.c om...
Hi all,

I'm a beginner in ms access, and I'm working on my first real
application. But to finish it up I'm facing a problem. I'm not able to
solve and maybe someone can help me.
I have made a database that can be divided in two major parts:
1. entering data
2. reading the entered data.

Everybody who uses the database has access to the second part. The
first part is reserved for a couple of users. They only have access to
a predefined section of the database. To enter this section they need
to enter their individual password. I have built this feature based on
a query, that asks for a password, as soon the query is started. When
then pasword is entered, the user only get access to those elements
that are linked with that password in a table.
It's no problem to store these passwords in a table, and make them
unreadable for other people, if they should ever get in the table
section. I have used the option 'password' in the input-mask of the
password field. But what doesn't work is the following: when the user
enters his passwoord in the pop-up screen of the query, he can read
what he's entering. I would like to mask this input with '*', as
usually when a pasword is entered.
Does anyone know how I can do that, or do I have to go a completely
different way to make such thing work?

Francis.

Nov 12 '05 #3

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

Similar topics

2
by: Serious_Practitioner | last post by:
Hello, and thank you in advance for your help. Again. I want to enter the month and day portions only of a date into a table field. The idea is that I'll use the information later to generate a...
13
by: Richard Hollenbeck | last post by:
To prevent future apostrophe bugs and errors, isn't it just simpler to forbid an apostrophe from being entered into a text field? For example, couldn't "Alice's Restaurant" be changed to "Alices...
2
by: johnp | last post by:
Hi, Our Tech department updated users to Office 2003 this week. Now the input mask in one of the applications is showing up as: (###) ###-### The input mask wizard works correctly when I...
7
by: F. Michael Miller | last post by:
I have a db with Access front end, sql back, linked tables. I need to be able to change input masks at the table level in code. Any ideas? Thanks!
1
by: Matt | last post by:
I recently came across what I believe to be a peculiar bug with Mdi Children, and wanted to see if anyone else had experienced this before sending it in. The issue is as follows: I have a number...
2
by: ILCSP | last post by:
Hello, I have this Access 2K query that I need to re-create in MS SQL Server 2000, so I'm using the Query Analyzer to test it. One of the Access fields stores the home phone number. In the...
18
JamesDC
by: JamesDC | last post by:
Hi, So I'm working with an Access 2002 database for waste managemnt. The person in my role before my put together the program before he left and now I'm in charge of it. After updating a few...
7
desklamp
by: desklamp | last post by:
I'm a total Access newbie, please bear with me! Using Win2K/Access 2003. I'm trying to create a table in which I can store IP addresses and other information. According to Microsoft, there is no...
7
fnwtech
by: fnwtech | last post by:
I have a database where all users need access to all tables, forms, etc. However, I am trying to make it so users can only see a subset of the data (teachers need to see data for their students). I...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.