Search found 59 matches: itemfield

Return to advanced search

... with a lookup value .... Great, then something like this will work: REDEFINE DBCOMBO oCbx VAR oDept:deptCode ID 101 OF oDlg ; ALIAS oDept:cAlias ; ITEMFIELD 'DEPTCODE' ; LISTFIELD 'DEPTNAME'; UPDATE This will display the field DEPTNAME and post the oDept:deptCode var back into the DEPTCODE field. ...
by James Bott
Thu Oct 05, 2006 6:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multi Column Array Combo box
Replies: 8
Views: 1976

... the value, then just display the description and DBCombo returns the value. REDEFINE DBCOMBO oCbx VAR cDeptCode ID 101 OF oDlg ; ALIAS 'DEPT' ; ITEMFIELD 'DEPTCODE' ; LISTFIELD 'DEPTNAME' Otherwise, if you really must display the value, then create two arrays, one containing both the value and ...
by James Bott
Wed Oct 04, 2006 11:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multi Column Array Combo box
Replies: 8
Views: 1976

DbCombo para ado y mysql

... <cMsg> ] ; [ WHEN <uWhen> ] ; [ BITMAPS <acBitmaps> ] ; [ ON DRAWITEM <uBmpSelect> ] ; [ ALIAS <cAlias> ] ; [ ITEMFIELD <cFldItem> ] ; [ LISTFIELD <cFldList> ] ; [ <list: LIST, PROMPTS> <aList> ] ; [ RECORDSET <oDbrs> ] ; => ...
by fsandoval
Sat Aug 19, 2006 6:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DbCombo para ado y mysql
Replies: 0
Views: 1315

DBCombo en FW

... funcionando perfectamente con el siguiente DbCombo: REDEFINE DbCombo oCbx[1] VAR oDbf[1]:idProd ID 104 OF oPage:aDialogs[1] ; ALIAS "CBOPROD" Itemfield "idProdtxt" ListField "Nombre" ; ON CHANGE ( PRODTOR->(DbSeek( oDbf[1]:aBuffer[5], .f. ) ), ; oSay[21]:SetText(PRODTOR->Dicose), ; oPage:aDialogs[1]:Update() ...
by jose_murugosa
Thu Mar 16, 2006 2:06 pm
 
Forum: FiveWin para CA-Clipper
Topic: DBCombo en FW
Replies: 3
Views: 1151

El DBCombo de FWH 2.7 Marzo 2006

En Whats New dice: Previamente, ambos, itemField y listField tienen que ser de tipo carácter; ahora itemField (o array) puede ser numérico. Mira el nuevo ejemplo: samples\TESTDBC1.PRG. Gracias a James Bott. 1. Cuando itemsfield es numerico da ...
by jose_murugosa
Fri Mar 10, 2006 2:05 am
 
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: El DBCombo de FWH 2.7 Marzo 2006
Replies: 5
Views: 2984

Antonio Linares - DbCombo

Antonio, Que estoy haciendo mal con este dbcombo? REDEFINE DbCombo oCbx[1] VAR oDbf[1]:idProd ID 104 OF oPage:aDialogs[1] ; ALIAS "CBOPROD" Itemfield "idProd" ListField "Nombre" ; ON CHANGE ( PRODTOR->(DbSeek( oDbf[1]:aBuffer[1], .f. ) ), ; oSay[21]:SetText(PRODTOR->Dicose), oPage:aDialogs[1]:Update() ...
by jose_murugosa
Thu Mar 09, 2006 9:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Antonio Linares - DbCombo
Replies: 3
Views: 1075

... de areglos "arrays" usando los métodos New() y Redefine() no estaba funcionando, está corregido. Añadida busqueda incremental. Previamente, ambos, itemField y listField tienen que ser de tipo carácter; ahora itemField (o array) puede ser numérico. Mira el nuevo ejemplo: samples\TESTDBC1.PRG. Gracias ...
by Antonio Linares
Thu Mar 02, 2006 6:03 pm
 
Forum: WhatsNew / Novedades
Topic: FTDN new March 2006 build / nuevo build de Marzo 2006
Replies: 9
Views: 7332

FTDN new March 2006 build / nuevo build de Marzo 2006

... the data from the file. Passing arrays using New() or Redefine() methods wasn't working--fixed. Added incremental searching. Previously, both the itemField and listField had to be character type; now the itemField (or array) can be numeric. See new sample program, samples\TESTDBC1.PRG for a working ...
by Antonio Linares
Thu Mar 02, 2006 8:42 am
 
Forum: WhatsNew / Novedades
Topic: FTDN new March 2006 build / nuevo build de Marzo 2006
Replies: 9
Views: 7332

... REDEFINE DBCOMBO oPackCode VAR oInv:aItem[nItem, 4] ID CBINVTRPACKTYPE OF oDlgItem UPDATE; ALIAS 'PACK' ; ITEMFIELD 'PACKCODE' ; LISTFIELD 'PACKNAME' ; VALID !Empty(oInv:aItem[nItem, 4]) REDEFINE BUTTON ID PBINVTRPACKNEW ACTION Ins_Pack (oDlgItem, 'Add'), ...
by Milan Mehta
Wed Feb 22, 2006 5:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to refresh DBCombo box ?
Replies: 20
Views: 6279

... "NUMGPO" ) ) ) si te da 0 es por que esta colocando un campo que no existe.. REDEFINE DBCOMBO oGetArt VAR GruArt ID 103 OF oDLG; ALIAS "GRUPOS" ITEMFIELD "NUMGPO" LISTFIELD "NOMGPO y ademas yo lo utilizo igual y me funciona ok espero que te sirva Saludos Patricio
by Patricio Avalos Aguirre
Tue Nov 15, 2005 9:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DbCombo Fwh no funcina
Replies: 8
Views: 2812

Este es ejemplo donde lo uso.

... "La clase " + AllTrim( Clase ) + ; " no existe" ), .f. ))) OF oDlg UPDATE REDEFINE DBCOMBO oGetArt VAR GruArt ID 103 OF oDLG; ALIAS "GRUPOS" ITEMFIELD "NUMGPO" LISTFIELD "NOMGPO" /* REDEFINE DBCOMBO SubGArt ID 104 OF oDLG; ALIAS "subgrupos" ITEMFIELD "NumSubGpo" LISTFIELD "NomSubGpo" REDEFINE ...
by fsandoval
Tue Nov 15, 2005 4:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DbCombo Fwh no funcina
Replies: 8
Views: 2812

DBCOMBO class problem ?

Hello, Should the table being used be set to any specific active index tag ? If yes, to ListField index or ItemField Index ? I am gettig quite strange result with it. Here is the small example demonstrating the same. In this example, selecting 'ABC' should return 1 instead it ...
by Milan Mehta
Mon Nov 14, 2005 11:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBCOMBO class problem ?
Replies: 0
Views: 871

Antonio Gracias pero el fwh4 NO

... "La clase " + AllTrim( Clase ) + ; " no existe" ), .f. ))) OF oDlg UPDATE REDEFINE DBCOMBO oGetArt VAR GruArt ID 103 OF oDLG; ALIAS "GRUPOS" ITEMFIELD "NUMGPO" LISTFIELD "NOMGPO" /* REDEFINE DBCOMBO SubGArt ID 104 OF oDLG; ALIAS "subgrupos" ITEMFIELD "NumSubGpo" LISTFIELD "NomSubGpo" REDEFINE ...
by fsandoval
Sat Nov 12, 2005 4:30 pm
 
Forum: FiveWin para CA-Clipper
Topic: DbCombo Fwh no funcina
Replies: 4
Views: 1864

#xcommand

... <cMsg> ] ; [ WHEN <uWhen> ] ; [ BITMAPS <acBitmaps> ] ; [ ON DRAWITEM <uBmpSelect> ] ; [ ALIAS <cAlias> ] ; [ ITEMFIELD <cFldItem> ] ; [ LISTFIELD <cFldList> ] ; [ <list: LIST, PROMPTS> <aList> ] ; => ; [ <oCbx> := ] TDBCombo():ReDefine( ...
by Patricio Avalos Aguirre
Thu Oct 20, 2005 9:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: #xcommand
Replies: 1
Views: 963
Previous

Return to advanced search