I have a UD table we are keeping track of some data. As we all can suspect, and I warned about, the end users have been fudging things and it is making things very difficult. So we want to use a set of options in a dropdown menu. I only need the one selected saved to the UD table.
What is the best way to hold the data for the dropdown menu?
One of the menu options are the departments, the other two, or more, are codes that are unique to our company.
I’m thinking user codes. Never used those, but don’t want to use another ud table. Can you point me to the info on User Codes? Like to learn how they work.
Lastly, where do I put the code in at? Meaning, do I sue one of the wizards to do it, or do I just drop it into the Script editor? Or…Is there another place it goes I am missing? Sorry for all the questions, never been down this road before.
Completely understand! Its the little things like this I’d wish there were videos on. I’d watch, try, and learn everyday if that were the case! I think I figured it out though. Just have an error (Invalid column name ‘CodeID’.) I am working through right now. But the code did compile successfully!! Thank you!
You shouldn’t have to write any code. Just put a dropdown on the screen, then bind it to the field you want. Then you set the BO that the drop down to UDCodes and set the filter. Let me scrounge up and example so I can send you a screen shot.
Edit: actually the link that @klincecum walks you right through it. That would be what I’m talking about.
Next I figured, its not a ComboStyle but an RetrieverComboStyle. Well, the error is:
Compiling Custom Code …
----------errors and warnings------------
Error: CS0234 - line 53 (369) - The type or namespace name ‘RetrieverComboStyle’ does not exist in the namespace ‘Infragistics.Win.UltraWinGrid’ (are you missing an assembly reference?)
Looked into infragistics, and didn’t see anything so figured I was wrong and its jsut UltraComboStyle, but I’m back to the original issue.