I think you will need a display value that combines these - when you say "from a table" do you mean a SQL table? If so, I'd use a SQL view to create the concatenated name and code number. Then I'd use that for my dropdown. I'd add rules to set the individual fields to the correct data when the dropdown value is selected. So, my view might have Display (the concat), Code, Name. When the Display is selected, I use rules to set the form fields to the Code and the Name. If this is a SharePoint list, I'd use a calculated field for the concat... It may be possible to manually manipulate the view file to use the combined fields for the display, but I would generally not recommend that - because that is notoriously fragile..... I'm going to open a proposed future feature for FormsDesigner to allow using a formula for the display / value properties for a dropdown, however. We are starting to gather and implement ideas that move Qdabra Forms beyond what was possible in InfoPath and I think this is worth consideration.
Hilary Stoupa
