Hello Sergey,
back to your reply again. Why wouldn't combobox readjust itself? I mean, what would be the reason that it doesn't?
What I did is put this code in the DropDown Event:
vp_cAccount_no = ALLTRIM(THIS.TEXT)
REQUERY('lv_coa_combobox')
this.DisplayCount = _tally
ThisForm.Text1.Value=STR(_tally) + "-" + STR(this.DisplayCount)
this.DisplayValue = caccount_no
DODEFAULT()ENDSCAN
It only works fine the first time(let say it returns 10 records). The second time(let say it returns 2 records) the list has 8 empty spaces. On the third time(let say view returns 8 records) there is some kind of small black arrow appears in the list and all I can see is the two records from the second attempt. It looks like there is not enough time to readjust the list.
Wrong event? I've tried DownClick, same result. It's driving me crazy!
Any advise, Sergey? Anything at all?
Regards
Igor