Page 1 of 1
display in form
Posted: Fri Jan 22, 2016 5:32 pm
by maw2be
I have a form. I use couple dropdown, take data from tables. when I click on entry and open it I see proper information. but when I close (or before click on row) I see a numbers instead text. how to change it?
Re: display in form
Posted: Mon Jan 25, 2016 5:46 am
by admin
I don't understand,
Can you post a picture?
Steven
Re: display in form
Posted: Mon Jan 25, 2016 12:00 pm
by maw2be
case type, hub and jurisdiction should be a text not numbers. when you entry form you get text.
how to change it?
nubuilder.jpg
Re: display in form
Posted: Tue Jan 26, 2016 7:13 pm
by Richsurvey
Hi maw2be,
Instead of the primary key in your SQL statement use the desired field name twice. e.g.:
If you originally had this: SELECT case_type_id, case_type_name FROM case_type
Change it to this:
Code: Select all
SELECT case_type_name, case_type_name FROM case_type
This works for me, but I'm not sure if this is the correct way this type of problem should be solved.
Re: display in form
Posted: Tue Feb 02, 2016 10:12 am
by maw2be
Hi Richsurvey
no it's not working for me. I'm still see numbers (some primary key or what is that) in form field. Have to entry into it to see value. Will carry on to find solution.
EDIT: It's works, I simply have to try on new entry, delete old one.
Re: display in form
Posted: Fri Feb 12, 2016 2:44 am
by admin
maw2be,
To Show Hub you will need to link the hub table you use in your dropdown, to your enquiry table (with INNER JOIN) and choose this field in the Browse instead of the Foreign Key in the enquiry table.
Steven
Re: display in form
Posted: Thu Mar 31, 2016 12:26 am
by admin
.