Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
change the value of a field before it is displayed
-
- Posts: 4
- Joined: Sat Aug 15, 2015 3:16 pm
change the value of a field before it is displayed
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
Tom_24409,
Do you mean on a Browse Form (eg. a certain row or column).
or An Edit Form field.
Steven
Do you mean on a Browse Form (eg. a certain row or column).
or An Edit Form field.
Steven
-
- Posts: 4
- Joined: Sat Aug 15, 2015 3:16 pm
Re: change the value of a field before it is displayed
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
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
Tom,
You can do this on Before Browse..
Steven
You can do this on Before Browse..
Code: Select all
$s = "UPDATE customer SET cus_name = 'Bob' WHERE cus_name = 'Rob'";
nuRunQuery($s);