Custom Item October 29, 2018, 11:13:32 AM HelloIf i have stored 0 and 1 for Yes and No in the database. when i am showing the list or view how do i display Yes for 0 and No for 1.Cheers Quote Selected
Re: Custom Item Reply #1 – October 30, 2018, 07:12:27 PM You can set the DisplayType of the field to "Custom". Then edit the custom code.Sample Quote Selected
Re: Custom Item Reply #2 – October 31, 2018, 07:34:09 AM Thanks Emman its exactly what i was looking for and good to see you back in Action Quote Selected 1 Likes
Re: Custom Item Reply #3 – November 04, 2018, 08:31:48 AM How about reading the values for 1 and 0 from the table itself? How to achieve this with Master - Detail record relationship?For example, there is a Sales table with Item ID. The Item Names are in another table. So, how to show the Item Name in Sales table instead of Item ID which is the value of the field in table? Quote Selected
Re: Custom Item Reply #4 – November 04, 2018, 02:36:43 PM Hi Ross,You have to use Table Join to get the details from another table. With that, you get all the detail table fields and then you select the fields you want. Quote Selected 1 Likes
Re: Custom Item Reply #5 – December 03, 2018, 08:25:05 AM Hi Ross,Thanks for the reply, i was following the same approach of storing the table and then joining them, but its not the right approach as it keeps hitting the table for each row, what i wanted is something like decode or case function for display a different active/inactive values. Cheers Quote Selected