I have been using Dbcombos without problem in an existing program unchanged for 2 years.
Recently I recompiled with my new FWH 14.08 from FWH 6.12
Afterwards, I noticed that the last 2 dbcombos in the edit module are displaying blank values while all the rest are displaying their proper .dbf fields, upon edit.
I have added separate "gets" for each of the cDesc1 and cDesc2 vars to show the .dbf values do exist and display OK, just not in the same dbcombo vars.
Also, upon saving the edit even though these 2 dbcombo vars are showing blank they save with their respective original values correctly.
I attach a segment of that code.
Each dbcombo draws off of different .dbfs' oDbc1, 2, 3, 4
Vars are set as locals.
Hopefully I've included and portrayed the problem effectively.
Any help appreciated,
Bruce
>>>>>>
@ 8.5, 4.5 SAY "&D" OF oDlg SIZE 5, 11 color CLR_BLACK, rgb(236,245,255)
@ 126, 40 dbcombo oDBC1 var cDrpD of oDlg;
alias oTcomp:cAlias;
size 100,220 pixel;
itemfield "COD" ;
listfield "COMP";
update;
// this dbcombo and all the ones above, display the selected .dbf fields properly
@ 9.75, 3 SAY "D&river" OF oDlg SIZE 22, 11 color CLR_BLACK, rgb(236,245,255)
@ 146, 40 dbcombo oDBC2 var cDrvr of oDlg;
alias oTdrv:cAlias;
size 50,250 pixel;
itemfield "DRVR" ;
listfield "TNAME";
update;
@ 10.9, 4 SAY "Qty 1" OF oDlg SIZE 22, 11 color CLR_BLACK, rgb(236,245,255)
@ 12.5, 5 GET cQty1 OF oDlg SIZE 10, 11 Pict 'NN'
//cDesc2 will not display in the dbcombo, upon opening module for edit ???????
@ 10.9, 10 SAY "d&Esc1" OF oDlg SIZE 30, 16 color CLR_BLACK, rgb(236,245,255)
@ 163, 80 dbcombo oDBC4 var cDesc1 of oDlg;
alias oTDesc:cAlias;
size 40,75 pixel;
itemfield "COD" ;
listfield "DESC";
update;
// cDesc1 will display in this get
@ 12.25 , 17 get cDesc1 OF oDlg SIZE 20, 10
//--------
@ 12.25, 4 SAY "Qty 2" OF oDlg SIZE 22, 11 color CLR_BLACK, rgb(236,245,255)
@ 14.0 , 5 GET cQty2 OF oDlg SIZE 10, 11 Pict 'NN'
@ 12.25, 10 SAY "de&Sc2" OF oDlg SIZE 30, 16 color CLR_BLACK, rgb(236,245,255)
//cDesc2 will NOT display in this dbcombo upon opening module for edit ?????????
@ 183 , 80 dbcombo oDBC4 var cDesc2 of oDlg;
alias oTDesc:cAlias;
size 40,75 pixel;
itemfield "COD" ;
listfield "DESC";
update;
// cdesc2 will display in this get
@ 14.25 , 17 get cDesc2 OF oDlg SIZE 20, 10
@ 13.50, 3.75 SAY "Trip #" OF oDlg SIZE 22, 11 color CLR_BLACK, rgb(236,245,255)
@ 15.50, 5.0 GET cTrip_num OF oDlg SIZE 20, 11 Pict 'NNNNN'
<<<<<<<<
FWH 14.08
Harbour 3.2.0dev
BCC582