Page 1 of 1
Does TDatabase supports SEEK LAST?
Posted: Tue Nov 07, 2023 5:03 am
by hua
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?
Re: Does TDatabase supports SEEK LAST?
Posted: Tue Nov 07, 2023 5:54 am
by nageswaragunupudi
Please try
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 include this line anywhere at the end of your prg
Re: Does TDatabase supports SEEK LAST?
Posted: Tue Nov 07, 2023 6:53 am
by hua
Thanks Rao,
Saved me a few keystrokes
I normally would type as (oDbf:cAlias)->(dbSeek(cSeek, nil, .t.))
Re: Does TDatabase supports SEEK LAST?
Posted: Tue Nov 07, 2023 7:21 am
by nageswaragunupudi
Not only DBSEEK,
You can use any (x)Harbour function as if it is a METHOD.
Re: Does TDatabase supports SEEK LAST?
Posted: Fri Nov 10, 2023 1:42 am
by James Bott
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()
Re: Does TDatabase supports SEEK LAST?
Posted: Fri Nov 10, 2023 4:08 am
by nageswaragunupudi
He is using database object.
But he is not looking for DbGoBottom()
He is looking for
which is totally different from "GoBottom()"