I have 2 tables - tblCertData and tblHL
tblCertData includes multiple fields, but the ones that matter at this point are
[1HL] (number field) and [Matl] (text field).
tblHL includes fields [HL] (number field) and [MatlDesc] (text field)
On my form that writes all of its data to tblCertData there is a dropdown box for [1HL]. The info in this dropdown box comes from tblHL [HL].
I would like to have an event run on the afterupdate of [1HL] that would update the fieid [Matl] from the record (from tblHL) that the [HL] was chosen from.
Maybe that got confusing after you read it, I am sorry, I am trying to give as much info as possible.
I am certain that this should require a Select statement, but please dont try to make me guess where to put it.
The statement
[Matl] = SELECT [MatlDesc] FROM [tblHL] WHERE me.[1HL] = [HL]
probably gives you more information from what i would like to do than my confusing ramble earlier. But as I am sure that you have already noticed from the above example........ ..I dont know anything about SELECT statements, lol.
If i had the statement correct.....i dont even know where to put it. Please Help. As always your help is much appreciated.
tblCertData includes multiple fields, but the ones that matter at this point are
[1HL] (number field) and [Matl] (text field).
tblHL includes fields [HL] (number field) and [MatlDesc] (text field)
On my form that writes all of its data to tblCertData there is a dropdown box for [1HL]. The info in this dropdown box comes from tblHL [HL].
I would like to have an event run on the afterupdate of [1HL] that would update the fieid [Matl] from the record (from tblHL) that the [HL] was chosen from.
Maybe that got confusing after you read it, I am sorry, I am trying to give as much info as possible.
I am certain that this should require a Select statement, but please dont try to make me guess where to put it.
The statement
[Matl] = SELECT [MatlDesc] FROM [tblHL] WHERE me.[1HL] = [HL]
probably gives you more information from what i would like to do than my confusing ramble earlier. But as I am sure that you have already noticed from the above example........ ..I dont know anything about SELECT statements, lol.
If i had the statement correct.....i dont even know where to put it. Please Help. As always your help is much appreciated.
Comment