One of my search fields is and Active Flag and it is a bit field. Is there any way that I can display this seach field as a checkbox?
Thanks again!
I am not sure this is supported by the Browser Dialog by default, but this is what I did for the same situation, and instead of a checkbox, I am using a combobox with an Enum.
Create your Enum in any of your class like this:
Public
<EnumDisplayValue(
End
Then in your Browser Dialog (BD) add the field in the SearchFields property and use the Combo-Enum like this:
Run your application and it should look like this:
So if this is not yet supported, that should keep you going without another martini , and this could be a nice enhancement, that SF add a checkbox option for Bit fields.
Thanks so much for getting back to me. So can I just create this enum in my form class? I thought about doing that but when I tried, all I could get was syntax errors. I looked for some C# examples, and just couldn't find any basic enough for my basic ignorance
OK - thanks a million - I got it working. The thing that was throwing me was that when I clicked on the ellipses and asked it to find my enum, it couldn't. When I typed the fully qualified name into the textbox it just worked.
Take a look at the StrataFlix sample application in the Sample and Solutions forum, it is in VB and it is not finished, but it will give you a very different perspective on how the SF Team to use the framework for their custom applications.
For enums I have a class file to create all my enums and made them all public, this way the type editor can find them so you can just pick and choose insted of typing it completely.
I will definitely do that when I get some breathing room. I have 3 clients that are pushing me right now and I don't even have time to go to the golf course
And thank for the idea of having all the enums in one class. I thought about it and it definitely makes a lot of sense. I will re-factor after I have enough built to show my client. It's getting there. I already have my main form and 4 data entry forms cranked out