Hi,
My report cant see the fields when I try to add them from nuSQL.
I think its a problem with the JOIN, because if i try to take the data from just one table it works fine.
When I JOIN other tables, the report becomes empty.
I saw other users had this problem, but I couldnt find a solution for me.
Thanks!
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.
Report doesnt see fields from nuSQL(after JOIN)
-
- nuBuilder Team
- Posts: 4294
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Report doesnt see fields from nuSQL(after JOIN)
Hi,
You might get around this by creating a temporary table:
https://wiki.nubuilder.cloud/index.php/Reports#Table
You might get around this by creating a temporary table:
https://wiki.nubuilder.cloud/index.php/Reports#Table
-
- Posts: 10
- Joined: Thu Aug 13, 2020 2:11 pm
Re: Report doesnt see fields from nuSQL(after JOIN)
with a procedure?
(so is a problem with nubuilder... in older version it worked perfectly )
(so is a problem with nubuilder... in older version it worked perfectly )
-
- Posts: 10
- Joined: Thu Aug 13, 2020 2:11 pm
Re: Report doesnt see fields from nuSQL(after JOIN)
OK, i tried with a procedure, i copied the code from sql builder from my form where it works.
Same thing. The report cant see no fields
Can u help me?
Same thing. The report cant see no fields

Can u help me?
-
- nuBuilder Team
- Posts: 4294
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Report doesnt see fields from nuSQL(after JOIN)
Yes, with a procedure.
Can you provide more details? Where do you not see the fields?My report cant see the fields when I try to add them from nuSQL.
-
- Posts: 10
- Joined: Thu Aug 13, 2020 2:11 pm
Re: Report doesnt see fields from nuSQL(after JOIN)
in the report designer, when i try to add new fields.
to be more clear, if my code is:
SELECT * my_table
it works perfect
but when i added the JOINs it doesnt work.
to be more clear, if my code is:
SELECT * my_table
it works perfect
but when i added the JOINs it doesnt work.
-
- nuBuilder Team
- Posts: 4294
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Report doesnt see fields from nuSQL(after JOIN)
I created a simple SQL with a JOIN:
and I'm still able to select the fields. Or do you mean something else?
and I'm still able to select the fields. Or do you mean something else?
You do not have the required permissions to view the files attached to this post.
-
- Posts: 10
- Joined: Thu Aug 13, 2020 2:11 pm
Re: Report doesnt see fields from nuSQL(after JOIN)
This is what i mean.
But i found the problem... it seems u shouldnt have 2 columns with the same name in different tables... i modified one of them and now it works fine.
Thanks!
But i found the problem... it seems u shouldnt have 2 columns with the same name in different tables... i modified one of them and now it works fine.
Thanks!
-
- nuBuilder Team
- Posts: 4294
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Report doesnt see fields from nuSQL(after JOIN)
This also applies to the Browse SQL. I usually do a SELECT * FROM (....) as a workaround.