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?
Does TDatabase supports SEEK LAST?
Does TDatabase supports SEEK LAST?
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
BCC5.82/BCC7.3
xHarbour/Harbour
- nageswaragunupudi
- Posts: 10691
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Does TDatabase supports SEEK LAST?
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
Code: Select all | Expand
oDbf:DbSeek( cSeek, nil, .T. )
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
Code: Select all | Expand
EXTERNAL DBSEEK
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: Does TDatabase supports SEEK LAST?
Thanks Rao,
Saved me a few keystrokes
I normally would type as (oDbf:cAlias)->(dbSeek(cSeek, nil, .t.))
Saved me a few keystrokes
I normally would type as (oDbf:cAlias)->(dbSeek(cSeek, nil, .t.))
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
BCC5.82/BCC7.3
xHarbour/Harbour
- nageswaragunupudi
- Posts: 10691
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Does TDatabase supports SEEK LAST?
Not only DBSEEK,
You can use any (x)Harbour function as if it is a METHOD.
You can use any (x)Harbour function as if it is a METHOD.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- James Bott
- Posts: 4840
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: Does TDatabase supports SEEK LAST?
If you use database objects then you can just do:Saved me a few keystrokes
I normally would type as (oDbf:cAlias)->(dbSeek(cSeek, nil, .t.))
oCustomer:goBottom()
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
- nageswaragunupudi
- Posts: 10691
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Does TDatabase supports SEEK LAST?
He is using database object.
But he is not looking for DbGoBottom()
He is looking for
which is totally different from "GoBottom()"
But he is not looking for DbGoBottom()
He is looking for
Code: Select all | Expand
SEEK cSeek LAST // i.e., DBSEEK( cSeek, nil, .T. )
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India