Note: The tables was designed by a VB novice, so pardon the sloppiness.
inputtbl:
projid name hours
==== ==== ====
5555 John 20
5555 Bill 15
outputtbl:
projid name1 name2 hours1 hours2
==== ==== ==== ==== ====
5555 John Bill
Note: The field “hours1” belongs the person in field “name1”
And : The field “hours2” belongs the person in field “name2”
My objective is to do a search in outputbl with projid as the search key using “FindFirst” or any other search function. If I find the projid, and the name in any of the name fields also matches the name in inputtbl I will then update the “hours” field in the ouputtbl.
I hope I’m clear in my explanation
Any insight into the coding in VBA will be greatly appreciated.
BM.
inputtbl:
projid name hours
==== ==== ====
5555 John 20
5555 Bill 15
outputtbl:
projid name1 name2 hours1 hours2
==== ==== ==== ==== ====
5555 John Bill
Note: The field “hours1” belongs the person in field “name1”
And : The field “hours2” belongs the person in field “name2”
My objective is to do a search in outputbl with projid as the search key using “FindFirst” or any other search function. If I find the projid, and the name in any of the name fields also matches the name in inputtbl I will then update the “hours” field in the ouputtbl.
I hope I’m clear in my explanation
Any insight into the coding in VBA will be greatly appreciated.
BM.