PDA

View Full Version : Text column holds value of ID



Shaimaa T
02-23-2015, 01:50 AM
Hi all,


I have a table Actions as follow


Action ID Action
1 cutting
2 sowing
3 ripping
.. ..


At some time , on clicking the button that opens this lookup table I found some of the values of Action equal to Action ID


Action ID Action
1 1
2 sowing
3 3


What are all possible scenarios that would lead to Action column taking value of Action ID?


Many thanks!

Bob Phillips
02-23-2015, 01:58 AM
Sounds like a code error that updates the table.

Shaimaa T
02-23-2015, 02:02 AM
But I can't find anywhere in code an update statement that sets Action to be Action ID!