Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

nuSetFormTitle from table

Questions related to customising nuBuilder Forte with JavaScript or PHP.
Post Reply
acroporax
Posts: 42
Joined: Thu Apr 21, 2022 3:04 pm
Has thanked: 5 times
Been thanked: 1 time

nuSetFormTitle from table

Unread post by acroporax »

Hi All,
How can I get Nu Form Header data from table

For example;

t=Select * from dbupdatetime ;
nuSetFormTitle('Last data update:' & t ) ;
kev1n
nuBuilder Team
Posts: 4565
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 529 times
Contact:

Re: nuSetFormTitle from table

Unread post by kev1n »

The easiest way is probably to place the SQL in a (hidden) display object and set the form's title like this:

Code: Select all

nuSetFormTitle('Last data update:' + nuGetValue('select_object_id_here') ) ;
acroporax
Posts: 42
Joined: Thu Apr 21, 2022 3:04 pm
Has thanked: 5 times
Been thanked: 1 time

Re: nuSetFormTitle from table

Unread post by acroporax »

Thanks.
Post Reply