User Code drop down showing COdie ID & Description

Hi All
I have a field which I want to drop down - for user codes, showing User code ID and Description inside the drop down box - at the moment only one column appears in the drop down which is the description

image

How can I modify to show the two columns form the user codes table please?

Many thanks in advance

Hi Carla,

To get something similar to below with multiple columns showing in your UDcodes field:

image

And then go to the EpiColumns … and tell it what fields to show; edit the column widths to show the data. PS: i have found the column sizing here a little buggy, sometimes requiring messing around with it to get it to work as needed

Nancy

Thanks very much very helpful

I do not have the width controls you have for drop down lists so my columns are unnecessarily wide

image

Any idea how I can reduce width of my 1st column ?

Hi Carla,

When I was working on this earlier, I saw this post. Maybe it’ll help you if you’re willing to write a little customization:

Nancy

Thanks Nancy
its helpful but i cant get it to compile - I must be doing something incorrectly…

All sorted now thanks so much for your help - my problem was because I had the code in the wrong place. once I put it in initialise custom code it worked a treat

1 Like