... // Calculate the total height of the activated boxes for nIndex := 1 to Len(aFilters) if aFilters[nIndex, 1] nVisibleBoxHeight += nBoxHeight endif next // Adjust the height of the XBROWSE based on the height of the activated boxes oBrw:nBottomMargin+= nBoxHeight oBrw:refresh()
I use tdatabase and I have modify if Empty( cFilter ) oDbf:Clearfilter() else odbf:dbsetfilter( cFilter) endif But Not work It should be simple to change and make it work. I made these 6 minor changes and it works well. #include "fivewin.ch"REQUEST DBFCDXfunction ...
... filter ( ru nok I put as 3) local cState:= space(25) If nIndex=3 Selection_State( @cstate ) cFilter:= 'STATE='+ "'"+cState+"'" endif see the code pls #include "fivewin.ch"REQUEST DBFCDXfunction Main() local oDlg, oBrw local cFilter := "" local ...
... a imprimir IF cImpFac == "S" IMPRIMIR(cFilImp,"") else IMPRIMIR(cFilImp,"2") ... // IMPRIMIR(cFilImp,"3") endif FUNCTION IMPRIMIR(cFilImp,cNroImp) LOCAL cNomRem := "" IF cNroImp == "3" // REMOTA X RESTAURANTES .. COMO ...
... Error E0030 Syntax error "syntax error at 'LIKE'" karinha.prg(134) Error E0014 ELSE does not match IF karinha.prg(143) Error E0010 ENDIF does not match IF 3 errors No code generated.