Page 1 of 1
change the value of a field before it is displayed
Posted: Tue Aug 18, 2015 4:22 pm
by Tom_24409
how can I change the value of a field before it is displayed (i.e. using custom code before brows) ? ... I don't want to store the changed value in the database; its just for presentation purposes!
Re: change the value of a field before it is displayed
Posted: Mon Aug 24, 2015 7:32 am
by admin
Tom_24409,
Do you mean on a Browse Form (eg. a certain row or column).
or An Edit Form field.
Steven
Re: change the value of a field before it is displayed
Posted: Wed Aug 26, 2015 7:43 am
by Tom_24409
Steven, thanks for your reply!
I want to change the DB content of a particular field before it is shown in the Browse-Form ... preferably using PHP code on the server.
Thanks
Tom
Re: change the value of a field before it is displayed
Posted: Wed Sep 02, 2015 7:38 am
by admin
Tom,
You can do this on
Before Browse..
Code: Select all
$s = "UPDATE customer SET cus_name = 'Bob' WHERE cus_name = 'Rob'";
nuRunQuery($s);
Steven