We have about 2 dozen security officers who patrol about 120 buildings. They find defective or unlocked doors and write a "Trouble Report" on the door. This card gets turned in, where I have designed an Access Field and Table to enter the information and store it. They then get emailed to their respective supervisors so the problems can be dealt with.
As of right now, we have a big list on the wall of the buildings and their supervisors. After entering the building abbreviation, we have to look on the wall for who it goes to, and enter that name into a text box. Then, once we have entered all the TR's for the night, we open up the table and mark the ones to be sent out (using a print query and checkbox). Next to that check box is the name of the person we entered, so we can see who to send it to. This probably isn't making any sense, so I'll try to cut to the chase:
I can easily set up a DLookUp function as a Text Box in the Form. This displays who the TR should get sent to. But I can't get it to record in the table. So, while I can see it in the form, that is no use to me. I need a DLookUp type function as a column in a Table.
So here's my question: how do I set a function to a table column? The idea is this:
If Row 1 Column 1 reads "A", I want Row 1, Column 2 to read "B"
If Row 2 Column 2 reads "C", I want Row 2, Column 2 to read "D"
Col 1 Col 2
A..........B
C..........D
E..........F
E..........F
C..........D
A..........B
E..........F
A..........B
C..........D
C..........D
E..........F
Where Col 1 is entered manually, and Col 2 is automatically entered using some kind of LookUp function.
I hope this hasn't confused anyone too much. Let me know if it needs more clarification.
As of right now, we have a big list on the wall of the buildings and their supervisors. After entering the building abbreviation, we have to look on the wall for who it goes to, and enter that name into a text box. Then, once we have entered all the TR's for the night, we open up the table and mark the ones to be sent out (using a print query and checkbox). Next to that check box is the name of the person we entered, so we can see who to send it to. This probably isn't making any sense, so I'll try to cut to the chase:
I can easily set up a DLookUp function as a Text Box in the Form. This displays who the TR should get sent to. But I can't get it to record in the table. So, while I can see it in the form, that is no use to me. I need a DLookUp type function as a column in a Table.
So here's my question: how do I set a function to a table column? The idea is this:
If Row 1 Column 1 reads "A", I want Row 1, Column 2 to read "B"
If Row 2 Column 2 reads "C", I want Row 2, Column 2 to read "D"
Col 1 Col 2
A..........B
C..........D
E..........F
E..........F
C..........D
A..........B
E..........F
A..........B
C..........D
C..........D
E..........F
Where Col 1 is entered manually, and Col 2 is automatically entered using some kind of LookUp function.
I hope this hasn't confused anyone too much. Let me know if it needs more clarification.
Comment