Welcome to the nuBuilder Forums!

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

Displaying two fields in a lookup

Questions related to using nuBuilder Forte.
Post Reply
agnar
Posts: 37
Joined: Sun Apr 21, 2013 10:58 pm

Displaying two fields in a lookup

Unread post by agnar »

Hey,

I need the following in a subform:

Code: Select all

table1
  table1_id
  tb1_table2_id
table2
  table2_id
  field1
  field2
Now, in my table1 edit form I need to place a lookup into table2 that displays BOTH field1 and field2 in the description field.
Is that possible?

Maybe the best way is to create the combined field as a virtual field in MySql?
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: Displaying two fields in a lookup

Unread post by toms »

Hi,

I'm not sure I understand your question.

By using CONCAT you can concatenate two or more columns together.
contact_lookup.png
You do not have the required permissions to view the files attached to this post.
agnar
Posts: 37
Joined: Sun Apr 21, 2013 10:58 pm

Re: Displaying two fields in a lookup

Unread post by agnar »

Cool, that will probably fix it. So did a virtual field. That probably saves me some more head scratching too.
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Displaying two fields in a lookup

Unread post by admin »

.
Post Reply