I have a Junction Table with 2 fields FixID and DocsID. The FixID key does not have duplicates but the DocsID key has.
The below statement works to Update all records for DocsID in the Table Junction (T_Junction), it changes all DocsID keys to the same number, Text 29 selects the new DocsID key number.
I only require to change one DocsID key number, I know I need a WHERE clause but can not make it work, I was trying to use a reference to the FixID key for that joining record.
There is a Text box on the form (Text188) which displays the FixID record number.
Dim strSQL As String
strSQL = "UPDATE T_Junction Set[DocsID]= " & Me.[Text29] & ";"
End Sub
I have had a look on the web but can not find the Where clause referring to a text box.
I would appreciate some assistance.
kevsim
The below statement works to Update all records for DocsID in the Table Junction (T_Junction), it changes all DocsID keys to the same number, Text 29 selects the new DocsID key number.
I only require to change one DocsID key number, I know I need a WHERE clause but can not make it work, I was trying to use a reference to the FixID key for that joining record.
There is a Text box on the form (Text188) which displays the FixID record number.
Dim strSQL As String
strSQL = "UPDATE T_Junction Set[DocsID]= " & Me.[Text29] & ";"
End Sub
I have had a look on the web but can not find the Where clause referring to a text box.
I would appreciate some assistance.
kevsim