Search found 1572 matches: tdatabase

Return to advanced search

To Rao: Tdatabase search with ApplyParams/lookup

I must add two logic value to reasearch lmorning and levening I'm probably setting the search wrong, could you help me solve it? function Isfree( oRec, oSay )   local lNew     := ( oRec:RecNo == 0 )   local oDbf     := oRec:uSource   ...
by Silvio.Falconi
Mon Jan 29, 2024 10:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Rao: Tdatabase search with ApplyParams/lookup
Replies: 0
Views: 305

Re: Tdatabase ordcreate temp

nageswaragunupudi wrote:if DBFCDX

Code: Select all  Expand view
INDEX ON FIELD JUMP TAG JUMPTMP TO TMP TEMPORARY


OR
Using this syntax:
Code: Select all  Expand view
METOD CreateIndex( cFile, cTag, cKey, lUnique, lDescend, lMemory )

Code: Select all  Expand view
oTmp4:CreateIndex( "TMP", "JUMPTMP", "JUMP", nil, nil, .T. )


thanks
by Silvio.Falconi
Sat Jan 27, 2024 9:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tdatabase ordcreate temp
Replies: 2
Views: 494

Re: Tdatabase ordcreate temp

if DBFCDX

Code: Select all  Expand view
INDEX ON FIELD JUMP TAG JUMPTMP TO TMP TEMPORARY


OR
Using this syntax:
Code: Select all  Expand view
METOD CreateIndex( cFile, cTag, cKey, lUnique, lDescend, lMemory )

Code: Select all  Expand view
oTmp4:CreateIndex( "TMP", "JUMPTMP", "JUMP", nil, nil, .T. )
by nageswaragunupudi
Fri Jan 26, 2024 11:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tdatabase ordcreate temp
Replies: 2
Views: 494

Tdatabase ordcreate temp

I use tdatabase

Select( oTemp4:nArea )
index on oTemp4:jump To Temp

why make error ?
by Silvio.Falconi
Fri Jan 26, 2024 12:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tdatabase ordcreate temp
Replies: 2
Views: 494

Re: xBrowse - Dates - FWH 2310

Antonio, Nages was specific that he wanted to look at tDatabase with ADS ... convinced that was where the problem was located. The posts have specific data. No, I cannot provide a program to display it. At first it seemed to only happen on AMD, but ...
by TimStone
Fri Nov 10, 2023 6:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse - Dates - FWH 2310
Replies: 19
Views: 1442

Re: Does TDatabase supports SEEK LAST?

He is using database object.
But he is not looking for DbGoBottom()
He is looking for
Code: Select all  Expand view
SEEK cSeek LAST // i.e., DBSEEK( cSeek, nil, .T. )

which is totally different from "GoBottom()"
by nageswaragunupudi
Fri Nov 10, 2023 4:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Does TDatabase supports SEEK LAST?
Replies: 5
Views: 377

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: 377

Re: xBrowse - Dates - FWH 2310

If the problem is with ADS, let us now test dbfs with ADS.
Meanwhile please download the latest build of FWH again.
We will proceed testing dbfs + tdatabase using ADS.
We "have" to make the class working perfectly with ADS also.
I will do some tests tomorrow here.
by nageswaragunupudi
Wed Nov 08, 2023 8:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse - Dates - FWH 2310
Replies: 19
Views: 1442

Re: xBrowse - Dates - FWH 2310

... way to get any adjustment or fixes to that software, and we don't have a DBF supporting alternative. I don't know if we can address this through a tDatabase update, or if it is more than that. Tim
by TimStone
Wed Nov 08, 2023 6:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse - Dates - FWH 2310
Replies: 19
Views: 1442

Re: Clase para tratar una matriz como una dbf

Hola Jose,
si levantas el array desde una consulta mysql, podes usar TArrayData(), y funciona igual que TDatabase.

Saludos.
by Ariel
Wed Nov 08, 2023 11:19 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clase para tratar una matriz como una dbf
Replies: 5
Views: 379

Re: Does TDatabase supports SEEK LAST?

Not only DBSEEK,
You can use any (x)Harbour function as if it is a METHOD.
by nageswaragunupudi
Tue Nov 07, 2023 7:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Does TDatabase supports SEEK LAST?
Replies: 5
Views: 377

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: 377

Re: Does TDatabase supports SEEK LAST?

Please try oDbf:DbSeek( cSeek, nil, .T. ) This works with FWH1912 also, Don't bother if you can not find the method DbSeek() With database class we call use any (x)Harbour function as if it is a method, if that function is linked to the application. Note: If you get runtime error, just inclu...
by nageswaragunupudi
Tue Nov 07, 2023 5:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Does TDatabase supports SEEK LAST?
Replies: 5
Views: 377

Does TDatabase supports SEEK LAST?

Looking at TDatabase of FWH1912, I don't see support for 3rd param for dbSeek(). It is the equivalent of SEEK LAST
Is this rectified in latest version of FWH?
by hua
Tue Nov 07, 2023 5:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Does TDatabase supports SEEK LAST?
Replies: 5
Views: 377

Function to Search on dDf with Tdatabase

I have this structure dbf and I use Tdatabase aStructure = { { "date"       , "D",    8, 0 },;                          { "rooms_id"   , "C",    4, 0 } ,;                      ...
by Silvio.Falconi
Fri Sep 15, 2023 9:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Function to Search on dDf with Tdatabase
Replies: 0
Views: 200
Next

Return to advanced search