Thank you very much!
I have created one table and 6 forms. The way I was going to do was, users
[quoted text clipped - 6 lines]
you please tell me how I can do that. I know I am asking too much, can you
please help,? please.
IT'S NOT THAT HARD.
A Form has a Recordsource property. This is either the name of a Table or the
name of a Query. Each field in the table or query can be bound to a textbox or
other control on the Form by setting the control's Control Source property to
the name of the field. When you set up a form in this way - it's called a
"bound form" and it's the default kind of form - then you don't need *any*
buttons, you don't need *any* code.
You're having difficulty - I'm guessing - because you created the forms first
(unbound, with no recordsource), and then the tables. That's like building
the frame of a house and then deciding where to pour the foundations!
Her the summary of what I am trying to do. I have six forms for six
departments. Each department enter data on its forms and submit it to a
table. Their manager is the only one who has access to the table. The
managers have only access to their department's forms.
Again:
Users CANNOT ENTER DATA INTO FORMS.
Forms *DO NOT CONTAIN DATA*.
Forms are *just windows*, tools that let you enter data into a Table.
There is no "submit" process. Again the form is just a window onto the data in
the tables.
Data exists in tables, *and only in tables*. You can *use* a Form to enter
data into a table, but that's *it*.
If you're worried about users seeing data in the table, just don't let them
see the table - all they should see is the Form. The Form can be based on a
department-specific query so that they see only their subset of the data.
If you're worried about employees sneaking around and peeking where they
shouldn't, and if you have A2003 or earlier, you can implement Access
Workgroup Security on the database to be sure that all they can do is open
their permitted form. This is a complex feature and I would not recommend
starting with it - add it after you get the tables and forms working.