DDX Form - Dropdown entry

Options

Hi,

I'm trying to update a DDX Form so the entry added by the user is a dropdown selection, what code needs to be updated to enable this?

It would be useful if the options in the dropdown were pulled from a column in the dataset, but if not possible, entering the options into the code would be fine.

Thanks

Amie

Tagged:

Best Answer

  • GrantSmith
    GrantSmith Coach
    Answer ✓
    Options

    It's not a simple code swap but requires a dropdown control instead of a textbox control. You'd need to read in all the values for your drop-down control and when the table is displayed set the dropdown to the current value. When you write the record you'd need to pull the value from the drop-down similar to how it's pulled from the text box.

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**

Answers

  • GrantSmith
    GrantSmith Coach
    Answer ✓
    Options

    It's not a simple code swap but requires a dropdown control instead of a textbox control. You'd need to read in all the values for your drop-down control and when the table is displayed set the dropdown to the current value. When you write the record you'd need to pull the value from the drop-down similar to how it's pulled from the text box.

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**