Skip to main content
Known Participant
Sep 12, 2021 6:39 PM UTC
Question

How to get database column values in a field dropdown in a interface.

Hi Everyone,

Can anyone please explain me how can I get values from database in a dropdown field in a grid layout.

Thank You

    3 replies

    malathik
    Participating Frequently
    Sep 13, 2021 3:43 AM UTC
    Hi,
    Call a query entity to pull the required data from the database table and load it to the local variable. Then, use that same local variable to the grid dropdown column. Just make sure that choice values of the dropdown doesn't hold duplicate values(use table unique column)
    Known Participant
    Sep 13, 2021 5:36 AM UTC

    Thank you for your reply, I used the same logic but the dropdown field is unable to pull down to display the dropdown values.

    harshitb6843
    Brainy
    Sep 13, 2021 5:38 AM UTC

    Hi there, 

    The above solution provided looks perfect to me. However, if you're still not able to populate the values, can you please copy-paste your code snippet below so I can understand the problem more on your level?