I have the following object model:
I have a maintenance form to maintain BOMain objects. The form has a drop-down list to choose a BOLookup to link the BOMain instance to.
The problem I'm having is with the BOLookup drop-down list. I cannot get any items to appear in the drop down list. I can confirm the following:
I'm expecting the drop down to sync with the correct linked object for existing records and allow the user to choose an alternate linked item to link to
When I run the app, the drop down list on the form is always empty. When the drop down is expanded, it shows a number of "blank" rows (which is the same number of rows as there are in the Lookup table so I'm assuming the relationship is "working" but the UI isn't set up correctly)
Any ideas what I've missed?
Other than that, everything you've done is correct. Just make sure you have the lookup pk value set as the Value within the PopulationDataSourceSettings.
{0} will print 1200
{0:C} will print $1,200
{0:N2} will print 1,200.00
Just FYI. And you can get a full list of the format strings through the .NET documentation by searching for format strings. There are tons of them for dates, too ({0:MM/dd/yyyy}).