S
SharonInGa
If Me.IO_BOL > 1 Then
Me.IO_PrimaryKey = Me.IO_BOL
Else
Me.IO_PrimaryKey = Me.IO_PO
End If
the IO_PrimaryKey is populated based on whether the BOL or PO fields are
completed. The IO_Primary key has a relationship with the many to many
table, therefore the Primary key in the many to many table is also populated.
I get an error if I have to change the data in the BOL or PO fields. How
do I change the data in the Primary field name in the many-to-many table as
well if I have to change the original BOL or PO fields?
Me.IO_PrimaryKey = Me.IO_BOL
Else
Me.IO_PrimaryKey = Me.IO_PO
End If
the IO_PrimaryKey is populated based on whether the BOL or PO fields are
completed. The IO_Primary key has a relationship with the many to many
table, therefore the Primary key in the many to many table is also populated.
I get an error if I have to change the data in the BOL or PO fields. How
do I change the data in the Primary field name in the many-to-many table as
well if I have to change the original BOL or PO fields?