Search found 1600 matches: tdatabase

Return to advanced search

Re: Soporte a mariaConnect ?

... usadas hasta ahora.. tablas, TarrayData y rowSet... tienen metodos de navegacion y ordenaminento,,,, Navigation: Supports all methods of TDatabase like GoTop,GoBottom,GoTo,Skip,Eof,Bof,LastRec, RecCount,KeyCount,KeyGoTo, etc Also supports aliased methods compatible with ADO MoveFirst,MoveLast,Move,BookMark,AbsolutePosition, ...
by russimicro
Wed Nov 20, 2024 11:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Soporte a mariaConnect ?
Replies: 11
Views: 254

locate with Tdatabase

... LOCAL nAnno2 := LTrim(Str(Year(Date())))  // year now    // Apre il database    oDbf := TDatabase():Open( , "Lotto", "DBFCDX", .T. )        IF oDbf == NIL        ...
by Silvio.Falconi
Fri Nov 15, 2024 8:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: locate with Tdatabase
Replies: 0
Views: 104

Re: xbrowse very slow vs Xbrowser

... fault I haven't used listbox (wbrowse) for many years and then listbox doesn't have e style support for win7/win10/win11, it doesn't work with tdatabase, I can't create double headers.... The goal is to increase the size of the thumb on the horizontal scroll bar, so that it visually represents ...
by Silvio.Falconi
Fri Nov 08, 2024 10:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse very slow vs Xbrowser
Replies: 18
Views: 524

Re: Problem with Filter and Tdatabase

It's strange because in the test I did, that is, in the procedure in a small dialog, everything works perfectly, but when I create an object class with all the functions of the procedure it doesn't work, that is, it doesn't find the data, there's definitely an error somewhere that I can't find. this...
by Silvio.Falconi
Wed Nov 06, 2024 8:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Filter and Tdatabase
Replies: 3
Views: 89

Re: Problem with Filter and Tdatabase

MarcoBoschi wrote:Silvio,
have you some records in which the year of field named "data" is 2024
In the screenshot I see 1971

Bye


yes that is the beginning of the archive, I tried to make a filter in emagdbu


Image
by Silvio.Falconi
Wed Nov 06, 2024 1:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Filter and Tdatabase
Replies: 3
Views: 89

Re: Problem with Filter and Tdatabase

Silvio,
have you some records in which the year of field named "data" is 2024
In the screenshot I see 1971

Bye
by MarcoBoschi
Wed Nov 06, 2024 1:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Filter and Tdatabase
Replies: 3
Views: 89

Problem with Filter and Tdatabase

...    local   cFilter:= "LTRIM(STR(YEAR(FIELD->DATA)))= '" + ltrim(str(nyear)) + "'"     oDbf:= TDatabase():Open( , cdbfPath+"LOTTO", "DBFCDX", .T. )  oDbf:setorder(1)  oDbf:GoTop()          xbrowser odbf        oDbf:SetFilter(cFilter)  ...
by Silvio.Falconi
Wed Nov 06, 2024 12:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Filter and Tdatabase
Replies: 3
Views: 89

creation dbf with

... 0 )   Called from: .\source\function\dbffunc2.prg => FW_ARRAYTODBF( 586 )   Called from: .\source\classes\database.prg => TDATABASE:HB_EXECFROMARRAY( 0 )   Called from: .\source\classes\database.prg => TDATABASE:ARRAYTODBF( 1637 )   Called from: Source\test.prg ...
by Silvio.Falconi
Sat Oct 12, 2024 8:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: creation dbf with
Replies: 5
Views: 322

Re: Creation Array from Tdatabase

nageswaragunupudi wrote:
Code: Select all  Expand view
function FW_DbfToArray( cFieldList, bFor )

Give your filter condition in the second parameter ( bFor ) as a codeblock


Thanks
by Silvio.Falconi
Fri Oct 11, 2024 5:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creation Array from Tdatabase
Replies: 2
Views: 130

Re: Creation Array from Tdatabase

Code: Select all  Expand view
function FW_DbfToArray( cFieldList, bFor )

Give your filter condition in the second parameter ( bFor ) as a codeblock
by nageswaragunupudi
Fri Oct 11, 2024 1:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creation Array from Tdatabase
Replies: 2
Views: 130

Creation Array from Tdatabase

I need to create on Memory an array from a database I need to insert several conditions Now I tried making a filter oConteggio:=TDatabase():Open( , "Lotto", "DBFCDX", .T. ) IF nLastRecords > 0 nInit:=oConteggio:lastrec()-nLastRecords nEnd:= oConteggio:lastrec() ENDIF ...
by Silvio.Falconi
Fri Oct 11, 2024 11:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creation Array from Tdatabase
Replies: 2
Views: 130

Re: FWH: MySql/MariaDB: RowSet object

Hello, so rewriting tdatabase() class to use to use rowset should work? Maybe someone have done it already? Seems like logical path for me from dbf to Mariadb for those using tdatabase()... Rowset object would be helpful, I need an ...
by Taavi
Wed Oct 02, 2024 5:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH: MySql/MariaDB: RowSet object
Replies: 55
Views: 23592

Re: FWH: MySql/MariaDB: RowSet object

Code: Select all  Expand view
oRowSet:FCount()

is available and works exactly like TDatabase FCount()

We tried to make RowSet methods compatible with TDataBase and ADO RecordSet.

Please let us know if you want more, we will provide you natively with RowSet object.
by nageswaragunupudi
Tue Oct 01, 2024 5:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH: MySql/MariaDB: RowSet object
Replies: 55
Views: 23592

Re: FWH: MySql/MariaDB: RowSet object

Hello, have somebody tryed to rewrite tdatabase() class to use RowSet object instead of dbf file? For sample METHOD FCount() INLINE ( ::oRc:FCount() ) //where ::oRc is rowset object created for this object instead of METHOD FCount() INLINE ( ...
by Taavi
Tue Oct 01, 2024 5:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH: MySql/MariaDB: RowSet object
Replies: 55
Views: 23592

RE: Replace in File Editor

... get a match, and thus no replacement. FOR ALL OTHER DATA TYPES this process works fine. I did not write the original function ( an extension of tDatabase ). I need to find a way to be able to do a replace for the numeric fields. I've spent a long time trying different things. Every other option ...
by TimStone
Tue Jul 16, 2024 12:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Numeric Comparison
Replies: 6
Views: 699
Next

Return to advanced search

cron