aNPax1 := {"0"}
aNPax2 := {"- Seleccione -"}
REDEFINE DBCOMBO aGet[3] VAR aVar[3] ID 4002 OF oDlg UPDATE ;
ITEMS aNPax1 ;
LIST aNPax2 ;
aadd(aNPax1, "x")
aadd(aNPax2, "nuevo valor")
aGet[3]:aItems := aNPax1
aGet[3]:aList := aNPax2
aGet[3]:SetItems( aGet[3]:aItems, aGet[3]:aList, .t. )
kajot wrote:use slownik new shared via 'dbfcdx'
database oSLOWNIK
@ 40, K4 DBCOMBO oOPIS VAR pOPIS ;
alias oSLOWNIK:cALIAS;
itemfield "Opis";
listfield "Opis";
SIZE 120,100 PIXEL;
of oDlg UPDATE
how add new record to database oSlownik from DBCOMBO, if has't it in DBCOMBO list
kajot wrote:ok
in DBCOMBO I see only list from oSlownik, I can not wite to pOPIS
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot], Otto and 71 guests