Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Nothing in "PHP or Select or Table"

Questions related to nuBuilder Forte Reports and the Report Builder.
Post Reply
nathan
Posts: 40
Joined: Tue Apr 19, 2022 9:18 pm
Been thanked: 3 times

Nothing in "PHP or Select or Table"

Unread post by nathan »

I have run into a little problem,
When I try to create a report, I cannot select a table.
The “PHP or Select or Table” window appears but is blank
I have tried to add …the SQL builder opens I create and save ..but still nothing in the “PHP or Select or Table”
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Nothing in "PHP or Select or Table"

Unread post by kev1n »

Does the VIEW zzzzsys_report_data exist? If not, please create it by running this SQL:

Code: Select all

CREATE ALGORITHM=UNDEFINED SQL SECURITY DEFINER VIEW `zzzzsys_report_data`  AS SELECT concat('PROCEDURE:',`zzzzsys_php`.`zzzzsys_php_id`) AS `id`, `zzzzsys_php`.`sph_code` AS `code`, `zzzzsys_php`.`sph_description` AS `description` FROM `zzzzsys_php` WHERE `zzzzsys_php`.`sph_system` <> '1' AND locate('#TABLE_ID#',`zzzzsys_php`.`sph_php`) > '0' union select concat('SQL:',`zzzzsys_select`.`zzzzsys_select_id`) AS `id`,'nuSQL' AS `code`,`zzzzsys_select`.`sse_description` AS `description` from `zzzzsys_select` where `zzzzsys_select`.`sse_system` is null or `zzzzsys_select`.`sse_system` = '' union select concat('TABLE:',`zzzzsys_object_list`.`zzzzsys_object_list_id`) AS `id`,'nuTABLE' AS `code`,`zzzzsys_object_list`.`zzzzsys_object_list_id` AS `description` from `zzzzsys_object_list`  ;
nathan
Posts: 40
Joined: Tue Apr 19, 2022 9:18 pm
Been thanked: 3 times

Re: Nothing in "PHP or Select or Table"

Unread post by nathan »

the view did exist...so I deleted it and ran SQL and now I can see the sqls
Thank you !!!!
Post Reply