Skip to Content
0
Feb 18, 2010 at 09:07 PM

Trying to get the label of a search field

28 Views

Hello,

We are putting in custom validations around some of our searches in the ON_SEARCH methods of BSP views. When displaying an error for a search field entry we want the error to say what field the error is for. We don't want to display the technical field name but rather the field label on the view. In debug, I can see that I want to retrieve the contents in me->typed_context->search->view_descriptor->label_buffer and load into a table of type bsp_dlcs_field. Struggling to get a syntax that will generate, much less work. Any suggestions or code snipets are appreciated.

Thanks in Advance,

Tony