Hello NageswaraRao,
Thank you for your code.
I tested and it works as suspected for arrays.
Am I right that if you use dbf-files aArray can’t be used?
Do I have to make an own array parallel to get this functionality?
To test I tried with dbf files - I think it is similar to your code but hard coded - I used:
STATIC cCity
func bStrDataFIELD_CITY()
local cTEmpCity := _FIELD->CITY
IF cCity = cTEmpCity
cTEmpCity := " "
else
cCity := _FIELD->CITY
ENDIF
return cCity
But if you skip this does not work and I thought to fill an array parallel with the current scope.
Could you imagine if this will work.
What is the reason why xBrowse distinguish between array and dbf-file. If you look at other languages they make a recordset or a dataadapter and bind the browser to this.
Regards,
Otto