Ok here is my issue, I have a database that was created back in 1995/96 and I am trying to add a bandaid fix to it while I recreate it. I am an intermediate Access/VB programmer normally however it has been 5 years (thanks job market) since I have used it so my knowledge is rusty and very novice right now. What I was attempting I thought was easy but I am starting to think I was wrong.
Currently we have a value come in assigned to a person in most situations however there are 2 situations where it is assigned to a location. What I am wanting to do is change the data in the database after it comes in to be assigned to a person. My format below __.__ is for ease of typing the first is the table second is the field. My basic idea was:
If tblA.Name1 = Location30
and tblA.Mod = tblLocation30.Mod
then
(not sure how to but I want to clear the field tblA.Name2 and then assign the value tblLocation30.Name1 to the tblA.Name2 field)
This seemed easy till I started trying to remember what I was doing. The second issue with this is I have a form with a drop down box that looks at a tblUser for the names. I have the names and the additional names I want to filter for in this table. The tricky part is that this drop down filters the tblA.Name1 field. I want it to look and if tblA.Name1 starts with STT (STT-Name)I want it to filter by the tblA.Name2 field. Is this possible? If not does anyone have any suggestion?
Thanks for all your help.
-Russ
- Russ
Currently we have a value come in assigned to a person in most situations however there are 2 situations where it is assigned to a location. What I am wanting to do is change the data in the database after it comes in to be assigned to a person. My format below __.__ is for ease of typing the first is the table second is the field. My basic idea was:
If tblA.Name1 = Location30
and tblA.Mod = tblLocation30.Mod
then
(not sure how to but I want to clear the field tblA.Name2 and then assign the value tblLocation30.Name1 to the tblA.Name2 field)
This seemed easy till I started trying to remember what I was doing. The second issue with this is I have a form with a drop down box that looks at a tblUser for the names. I have the names and the additional names I want to filter for in this table. The tricky part is that this drop down filters the tblA.Name1 field. I want it to look and if tblA.Name1 starts with STT (STT-Name)I want it to filter by the tblA.Name2 field. Is this possible? If not does anyone have any suggestion?
Thanks for all your help.
-Russ
- Russ