So, the best way for you is to load the two arrays, converting the item data to character when putting it into the array. You will also have to convert your nVno to cVno when going in and from cVno to nVno afterward.
Dear James,
What I am trying to point out is that it does not work as you suggest. I loaded two arrays with character value as follows :
Select Resident
Set ORDER TO TAG Name
GO TOP
DO WHILE !Eof()
AAdd (aListName, NAME)
AAdd (aItemVno, Str(VNO,5))
SKIP
ENDDO
and thereafter issuing following commands :
REDEFINE DBCOMBO oVno VAR cVno ID CBNAME OF oDlg
oVno:SetItems (aItemVno, aListName)
Still the value being returned by cVno is still nueric (i.e. from database) and wrong one also. Am I still missing something ?
TIA
Milan.