D
Dave
I used the wizard in VB.NET 2003 to generate a data adapter and it created
the following update command. It seems like the WHERE clause would never
evaluate to true? Am I reading this wrong?
The member_ID is the key for the table but it looks like the 2 statements
checking the address_1 and address_2 values would only be true if no changes
were made.
Me.OleDbUpdateCommand1.CommandText = "UPDATE Member_Listing SET address_1 =
?, address_2 = ? WHERE (member_ID = ?) AND (address_1 = ? OR ? IS NULL AND
address_1 IS NULL) AND (address_2 = ? OR ? IS NULL AND address_2 IS NULL)
Thanks for your help.
Dave
the following update command. It seems like the WHERE clause would never
evaluate to true? Am I reading this wrong?
The member_ID is the key for the table but it looks like the 2 statements
checking the address_1 and address_2 values would only be true if no changes
were made.
Me.OleDbUpdateCommand1.CommandText = "UPDATE Member_Listing SET address_1 =
?, address_2 = ? WHERE (member_ID = ?) AND (address_1 = ? OR ? IS NULL AND
address_1 IS NULL) AND (address_2 = ? OR ? IS NULL AND address_2 IS NULL)
Thanks for your help.
Dave