Search found 451 matches: dbseek

Return to advanced search

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

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

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

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 ...
by nageswaragunupudi
Tue Nov 07, 2023 5:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Does TDatabase supports SEEK LAST?
Replies: 5
Views: 378

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

Re: Error de Busqueda --- Solucionado

A ver lo que he hecho para resolverlo, que no se porque ya funciona pero es lo que hecho y ha funcionado, He copiado : dbseek(transform(year(Var(4)),"9999")) He borrado todas las líneas que habia puesto para la comprobación de porque no me funcionaba, la he vuelto a poner, ...
by Garbi
Thu Oct 26, 2023 3:52 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error de Busqueda --- Solucionado
Replies: 9
Views: 508

Re: Error de Busqueda

... en en registro adecuado, por que con el el msgalert() me indica el registro y es el correcto. El problema esta en que usando tu ejemplo: etiq->(dbseek( STR(n+1,4))) //Busco el proximo año al que quiero averiguar cual nro le corresponde if etiq->(found()) -----> SIEMPRE ME DEVUELVE .F. ...
by Garbi
Thu Oct 26, 2023 2:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error de Busqueda --- Solucionado
Replies: 9
Views: 508

Re: hbmk2 problem

... The script for the .hbp says to use hbfoxpro.ch In it, we have this redefine: #xtranslate SEEK( <x>, <wa> ) => (<wa>)->( dbSeek( <x> ) ) Removing that file solves the compile problem. However, there are other issues and I will email you on those.
by TimStone
Mon Jul 17, 2023 4:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: hbmk2 problem
Replies: 19
Views: 775

Re: hbmk2 problem

... dToday, .T. ) becomes: o:seek( dToday, .T. ) in the PPO In my application, oARhistory:seek( dBegDate, .t. ) . becomes: oARhistory:(.T.)->( dbSeek( dBegDate ) ) Clearly a #translate is active here. I have looked at: + All source code I have written + All FWH source in classes, functions, ...
by TimStone
Wed Jul 12, 2023 10:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: hbmk2 problem
Replies: 19
Views: 775

Re: hbmk2 problem

... change you suggested and have the same error. I did a search of ALL .ch files in FWH, Harbour, and my program. I looked for instances of SEEK and DBSEEK There were no re-defines in any of those It is strange that clearly, as shown by the PPO, that :seek is being redefined, but just how seems to ...
by TimStone
Mon Jul 10, 2023 10:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: hbmk2 problem
Replies: 19
Views: 775

Re: hbmk2 problem

Also, please comment this line in fwstd.ch

// #command SEEK <xpr> => dbSeek( <xpr> )

just in case the error comes from here
by Antonio Linares
Mon Jul 10, 2023 9:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: hbmk2 problem
Replies: 19
Views: 775

Re: hbmk2 problem

Dear Tim,

It seems as

oARhistory:seek( dBegDate, .t. )

is preprocessed into:

oARhistory:(.T.)->( dbSeek( dBegDate ) )

Please search in all your used CH files and look for dbSeek
by Antonio Linares
Mon Jul 10, 2023 9:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: hbmk2 problem
Replies: 19
Views: 775

Re: hbmk2 problem

I am seeing this:

        oARhistory := TARhistory():New( 2 )

       oARhistory:(.T.)->( dbSeek( dBegDate ) )

        while ! oARhistory:eof( )
by TimStone
Mon Jul 10, 2023 6:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: hbmk2 problem
Replies: 19
Views: 775

Problemas con Menu POPUP.

... aadd(TablaMnu,{Orden,Tipo,Opcion,Mensaje,Accion,Imagen}) }; ,{|| !deleted() }; ,{|| !eof() })) elseif PERFILFW->(DbSetOrder(1),dbseek(cript(Usuari))) // aca lleno la tabla TablaMnu con las opciones permitidas PERFILFW->(DbEval({|| if( OpcMenu->(DbSetOrder(1),Dbseek(PERFILFW->Clave)),; ...
by José Camilo
Mon Jun 05, 2023 3:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con Menu POPUP.
Replies: 2
Views: 204

Re: INDEX on / seek in MARIA DB

... in Maria Db and then also the seek command with DBF Es. Index ON COD_CLI + STR(COD_NUM,2) ... with MARIA DB .......................... CLIENT->(dbseek(COD_CLI+str(COD_NUM,2))) with MARIA DB oRS:seek(COD_CLI, COD_NUM) correct ? tia We are thinking of sorting and seek on compound expressions. ...
by nageswaragunupudi
Fri May 19, 2023 1:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: INDEX on / seek in MARIA DB
Replies: 5
Views: 399
Next

Return to advanced search