here is the structure of the combobox
- Code: Select all Expand view
- REDEFINE COMBOBOX OCBX1 VAR cPandl1 ITEMS { " < Other Activity Items >",;
"Amortization of prepaid expenses" ,;
"Credit line financing and Interest expense" ,;
"Due to from owners/affiliate and Interest owners" ,;
"Expense as a percent of change in net assets" ,;
"Interest on cash balances" ,;
"Investment activity and Revenue From Investments" ,;
"Notes rec'able amortization and Interest income" ,;
"Sale of equipment and Gain or loss on the sale of assets" ,;
"Service contracts receivable and Service income" ,;
"Start up expenses" ,;
"Term loan amortization and Interest expense" };
ID 19 OF oDlg on change(asetfilter(.f.,obrw),setup1(cPandl1,10,oDlg,nNewVar),mmcurrec := gl->(recno()),openfilter := .f.,;
asetfilter(.f.,obrw),oDlg:show() ,;
setcalc2(obrw,odlg,2) ,;
fixIt(oDlg,oBrw,oCbx1),setTheOrder(),WhatUsing(oDlg),gl->(dbgotop()),oBrw:setfocus()) ;
UPDATE
Thanks in advance..