To All
I see Silvo ( seems ) to have a similar problem ...
What is the tDatabase equivalence of :
oDbf:SetOrder( "CustID" ) // understand this already
Set order to tag CustID
Seek cCustID // <----- here
oDbf:Seek cCustID ??
oDBf:GoTop()
oDBf:Find cCustID ??
I would rather use Seek than set a filter .....
Seek in traditional DBFCDX is much faster than using the Find command ..
Thanks
Rick Lipkin
TDatabase Seek
- Rick Lipkin
- Posts: 2675
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
- nageswaragunupudi
- Posts: 10729
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 10 times
- Contact:
- Rick Lipkin
- Posts: 2675
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
- karinha
- Posts: 7951
- Joined: Tue Dec 20, 2005 7:36 pm
- Location: São Paulo - Brasil
- Been thanked: 3 times
- Contact:
- James Bott
- Posts: 4840
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: TDatabase Seek
Rick,
You can always look at the source code for TDatabase (xbrowse.prg) to find all the method names and their passed parameters.
You can always look at the source code for TDatabase (xbrowse.prg) to find all the method names and their passed parameters.
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
- James Bott
- Posts: 4840
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: TDatabase Seek
Rick,
Since you seem to be new to using OOP, may I recommend by two articles on OOP. They are somewhat dated since I wrote them 10 years ago, but still helpful to someone just getting started with OOP.
Introduction to Object-Oriented Programming Part 1 & Part 2
James
Since you seem to be new to using OOP, may I recommend by two articles on OOP. They are somewhat dated since I wrote them 10 years ago, but still helpful to someone just getting started with OOP.
Introduction to Object-Oriented Programming Part 1 & Part 2
James
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
- Rick Lipkin
- Posts: 2675
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
Re: TDatabase Seek
James
Thanks .. been using ADO on Sql Databases for years ... the reason I am using DBFCDX is I have a substantial contract to encrypt one of my Billing Apps for SC State gov that uses a MS Access backend ..
In order to create new and existing Invoices .. I have to ( on the fly ) dencrypt the Customer table .. and to do that I am creating a temp .dbf table on the local hard drive .. Since I mixing ADO and DBFCDX .. I pass the table object's between various modules and traditional .dbf syntax just would not work .. hence my interest in tDatabase.
Also ... migrating the application to Sql Server which is much more secure than ms access since Access is a local database that resides on the local un-secure file server.
Thanks
Rick Lipkin
Thanks .. been using ADO on Sql Databases for years ... the reason I am using DBFCDX is I have a substantial contract to encrypt one of my Billing Apps for SC State gov that uses a MS Access backend ..
In order to create new and existing Invoices .. I have to ( on the fly ) dencrypt the Customer table .. and to do that I am creating a temp .dbf table on the local hard drive .. Since I mixing ADO and DBFCDX .. I pass the table object's between various modules and traditional .dbf syntax just would not work .. hence my interest in tDatabase.
Also ... migrating the application to Sql Server which is much more secure than ms access since Access is a local database that resides on the local un-secure file server.
Thanks
Rick Lipkin