Hello all,
I have a parameterised view on a form with a field that contains encryption, this field is not ticked in the update criteria tab of the view designer the reason for this is that I only want the decrypt routine to change the value in the grid on the form and not the base table, but... I would like the option to turn the update field back on.
I have done this using:
DBSETPROP("V_test_employee","VIEW","SENDUPDATES",.T.)
DBSETPROP("V_test_employee","VIEW","WHERETYPE",3)
DBSETPROP("V_test_employee.surname","FIELD","UPDATABLE",.T.)
Am I missing something here as this does change the field to updateable but if I change the value in the grid it does not update? If I close the form after setting the above and run it again it works!!! Uh...
Suggestions very welcome,
IanMc.
I have a parameterised view on a form with a field that contains encryption, this field is not ticked in the update criteria tab of the view designer the reason for this is that I only want the decrypt routine to change the value in the grid on the form and not the base table, but... I would like the option to turn the update field back on.
I have done this using:
DBSETPROP("V_test_employee","VIEW","SENDUPDATES",.T.)
DBSETPROP("V_test_employee","VIEW","WHERETYPE",3)
DBSETPROP("V_test_employee.surname","FIELD","UPDATABLE",.T.)
Am I missing something here as this does change the field to updateable but if I change the value in the grid it does not update? If I close the form after setting the above and run it again it works!!! Uh...
Suggestions very welcome,
IanMc.