Search found 547 matches: odbf

Return to advanced search

Re: New txbrowse

best solution @ 103,10 XBROWSE oBrw SIZE -10,-10 PIXEL OF oDlg ; DATASOURCE oDbf COLUMNS aCols ; AUTOSORT FONT oFont; NOBORDER CELL LINES CLASS TMyBrowse() CLASS TMyBrowse FROM TXBrowse CLASSDATA lRegistered AS LOGICAL DATA aCols2Hide AS ARRAY INIT Array(0) DATA ...
by Silvio.Falconi
Mon Apr 22, 2024 9:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New txbrowse
Replies: 6
Views: 338

SetMultiSelectCol() on line

... "Deselect everything" action oBrw:SelectRow( 0 ) MENUITEM "Prints the selected lines" action PrintBrowse(oParent:cCaption,oBrw,oDbf) MENUITEM "Export the selected rows" action ExportToExcel(oBrw ) else // MENUITEM "Select the current row" action oBrw:SelectRow( ...
by Silvio.Falconi
Sat Apr 13, 2024 8:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetMultiSelectCol() on line
Replies: 3
Views: 123

Re: also error with btnbmp SHOWPOPUP

... "", hBmp2, "" ; SIZE 15, 13 PIXEL FLAT NOROUND GDIP WHEN lMenu OF oDlg ; ACTION ::ShowPopUp( Contextual_Menu( Self,oBrw,oDbf,cIniUser,cSection,oDlg,aBtnBrow[4] ) ) Function Contextual_Menu( oBtn,oBrw,oDbf,cIniUser,cSection,oParent,oCont,lExport,lColConfig ) .... MENU ...
by Silvio.Falconi
Mon Apr 01, 2024 10:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: also error with btnbmp SHOWPOPUP
Replies: 8
Views: 1690

Re: also error with btnbmp SHOWPOPUP

Nages, I have one popup on this codeblock oBrw:bRClicked := {|nRow,nCol| Disp_Menu_Comuni(oParent,nRow,nCol,oDbf,oBrw,cSection,oCont) .....} Function Disp_Menu_Comuni(oParent,nRow,nCol,oDbf,oBrw,cSection,oCont) .... ENDMENU ACTIVATE POPUP oMenu OF oParent AT oBrw:nTop+nRow, oBrw:nLeft+nCol ...
by Silvio.Falconi
Sun Mar 31, 2024 9:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: also error with btnbmp SHOWPOPUP
Replies: 8
Views: 1690

Re: records on xbrowse

... I make a search for a sample "frank" ( on First) ndatarow is 3 and also obrw:nlen is 3 I tried to inser a variable nTotalrecords at init oDbf:= TCustomer():New() oDbf:setorder(1) oDbf:Gotop() nTotalRecords:= oDbf:OrdKeyCount() and the on each button WHEN ( nTotalRecords > oBrw:nDataRows ...
by Silvio.Falconi
Wed Mar 27, 2024 9:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 1688

Re: records on xbrowse

oDbf:OrdKeyCount() ) This works only for oDbf. Using oBrw:nLen or oBrw:KeyCount() works for all datasources. ok but the button are not refreshed , only when I move the mouse into obrw for a sample WHEN ( oBrw:nDataRows <= ...
by Silvio.Falconi
Tue Mar 26, 2024 12:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 1688

Re: records on xbrowse

oDbf:OrdKeyCount() )


This works only for oDbf.
Using oBrw:nLen or oBrw:KeyCount() works for all datasources.
by nageswaragunupudi
Tue Mar 26, 2024 12:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 1688

Re: records on xbrowse

perhaps I resolved with WHEN ( oBrw:nDataRows < oDbf:OrdKeyCount() )

init
Image

after search
Image
by Silvio.Falconi
Tue Mar 26, 2024 11:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: records on xbrowse
Replies: 8
Views: 1688

Re: PepPol European Invoicing standard

... will be a extra for all members... Maybe a Hash ? // Match variables from any database before we call the TEXT function. hXml["Name"] = oDbf[name] Then in TEXT function use the Hash hXml["Name"] .......so that anyone can use it if he will link his own database items to the ...
by Marc Venken
Wed Feb 14, 2024 10:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: PepPol European Invoicing standard
Replies: 12
Views: 923

Re: RAO advice on using Mysql

:ActiveConnections is only for ADO recordsets. In fwmaria lib, it is oRs:oCn. To change the sql, please make a new RecSet object, set it to oBrw:oDbf and then close the old RecSet object You may try this sample and use similar logic #include "fivewin.ch"function Main()  ...
by nageswaragunupudi
Wed Feb 07, 2024 4:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RAO advice on using Mysql
Replies: 12
Views: 973

Re: Calculate total pages

thanks Rao Would this also work if I use the browse setup? example oBrw:Report( cTitle, , , ; { |oRep, oBrw| MySetUp( oRep, oBrw, oDbf,aGroup,nGroup,lEject,aCampi ) } ) static function MySetUp( oRep, oBrw, oDbf,aGroup,nGroup,lEject,afields ) local cFooter := "Progetto Magazzino - " ...
by Silvio.Falconi
Tue Nov 28, 2023 8:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Calculate total pages
Replies: 32
Views: 5867

Re: Problem with oBrowse:aDeleted

... functions to delete. Yes it delete the record but then re-save on archive There's probably something I don't understand I have two dbf Report.dbf (oDbf) Formati.dbf ( oDbfMod) have 30 fields +1 for recno() at first for editing I take a record on Report.dbf oRecord := oDbf:record() create ...
by Silvio.Falconi
Tue Nov 21, 2023 9:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with oBrowse:aDeleted
Replies: 2
Views: 243

Re: Does TDatabase supports SEEK LAST?

Saved me a few keystrokes :)
I normally would type as (oDbf:cAlias)->(dbSeek(cSeek, nil, .t.))


If you use database objects then you can just do:

oCustomer:goBottom()
by James Bott
Fri Nov 10, 2023 1:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Does TDatabase supports SEEK LAST?
Replies: 5
Views: 378

swicth xbrowse datalines

... xbrowse I use WITH OBJECT  oBrw:aCols[4]               :oHeaderFont:= oBold               IF lMore                 :bStrData := { || oDbf:Street + CRLF +Padright(alltrim(oDbf:city)+" "+ oDbf:state,60) }              else                :bStrData := { ...
by Silvio.Falconi
Wed Nov 08, 2023 10:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: swicth xbrowse datalines
Replies: 0
Views: 322

Re: Does TDatabase supports SEEK LAST?

Thanks Rao,
Saved me a few keystrokes :)
I normally would type as (oDbf:cAlias)->(dbSeek(cSeek, nil, .t.))
by hua
Tue Nov 07, 2023 6:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Does TDatabase supports SEEK LAST?
Replies: 5
Views: 378
Next

Return to advanced search