Welcome to the nuBuilder Forums!

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

BEFORE BROWSE creating temporary table

Questions related to using nuBuilder Forte.
Post Reply
tovidiu
Posts: 17
Joined: Sat Jan 06, 2018 5:45 pm

BEFORE BROWSE creating temporary table

Unread post by tovidiu »

I want to create a temporary table to browse a concatenated value from multiple rows from another tableg.
1. I created in php a #TABLE_ID#
1 php.png
2 . then I added suprafata_test to the browse table
2 browse.png
3. It doesnt work

Code: Select all

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'suprafata_test' in 'field list'
I am sure that I doing something wrong .......... can someone explain me how it works ?
Thank`s
Ovidiu
You do not have the required permissions to view the files attached to this post.
Dep
Posts: 1
Joined: Mon May 07, 2018 6:19 am

Re: BEFORE BROWSE creating temporary table

Unread post by Dep »

Hi Ovidiu,

In your SQL Builder, you will also need to add " #TABLE#.* " from #TABLE_ID#" in your SELECT statement because the program needs to know which table the 'suprafata_test' is coming from.

I cannot see the whole SELECT statement in the second picture you sent but this is what I can show to make it look complete.
SELECT
#TABLE#.*,
lucrare.*,
adresa.*,
terad.*,
localit.*,
strada.*,
lucrare_imobil.*
FROM
#TABLE_ID#,
lucrare,
adresa,
terad,
localit,
strada,
lucrare_imobil

Hope this helps!
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: BEFORE BROWSE creating temporary table

Unread post by admin »

tovidiu,

You need to show us the whole SQL statement you're having a problem with.

Steven
Post Reply