Making a button change form content without editing.
Hello, I´m trying to maka a database in wich I store the status of a record. The status may be "Aproved", "Disaproved", "Retry". I need this status to be changed without entering the EDIT mode.
So I´ve created a Function and asigned to a button, but I only get the status to change to nothing instead of the desired state.
This is what I´m using:
void Aprobar(int id)
{
rec = Posteos [ID == input.id];
rec.Estado = "Aprobado";
}
Thanks!
Gastón