Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I convert a query with calc fields to TCursor type?

Status
Not open for further replies.

Pharmer

Technical User
Aug 15, 2002
13
US
I am querying a rather large DB file with a series of queries, the first 2 of which have "calc count" fields. It runs very long (210 seconds).
The query is coded as follows:
Query
ANSWER: :work:withdawn.DB

pyx6002.DB | Station | PaType | GenMedName | Amt | Month | Index |
| Check | Check wit.. | | >0 | Check | calc count |

EndQuery

Can this query be quickened by TCursor?

Thank you
Doug
 
Doug,

I've been using Tcursor, and I think that query is faster than Tcursor. But probably you can try having secondary index, and try switchindex.

Froy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top