Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2019 11:59 AM
since u_state is a string field, when you assign an integer, it was converting it to 1.0.
You can also try record.u_state = '1';
But you will always need quotes while assigning a value to a string field.
Please mark this response as correct or helpful if it assisted you with your question.