by nageswaragunupudi » Thu Mar 22, 2018 11:14 am
Please try changing bStrData as bEditValue.
Kindly note that usage of bStrData was deprecated almost ten years back, i.e., from March 2008. Even earlier, bStrData was supposed to return a formatted string, though some tolerance is built into xbrowse to allow bStrData returning non-character values.
Kindly read whatsnew.txt of March 2008.
We suggest using bEditValue as a SETGET block returning value of any type and optional cEditPicture for formatting. bStrData is constructed internally by XBrowse, using bEditValue and cEditPicture.
You made a valid point that you understood cEditPicture to be used only for editing. I agree if we name bEditValue and cEditPicture as bValue and cPicture, they would convey the right meaning. But we are continuing the same names that were created at the time xbrowse was first created.
We also recommend using command syntax to define xbrowse, without forgetting to mention the datasource while creating xbrowse. This enables realisation of full potential of xbrowse.
Regards
G. N. Rao.
Hyderabad, India