Solved

Query in Ttable

Posted on 2002-04-01
6
259 Views
Last Modified: 2010-04-04
How can i use "Query" property in the Ttable component?
how can i execute Query ?

help me
0
Comment
Question by:girlswants_me
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 

Author Comment

by:girlswants_me
ID: 6911499
help me
0
 
LVL 6

Expert Comment

by:DrDelphi
ID: 6911760
TTable doesn't have a "query" property. I believe you're looking at a TWWTable (Woll2Woll), which if I recall correctly ( I stopped using their controls ages ago because of some caching issues) has a either Query or SQL property which allows you to use the Table as a Query as well. In either case, you'll need to check the documentation for the control that you have.



Good luck!!
0
 

Author Comment

by:girlswants_me
ID: 6911907
yes im using the Twwtable from woll2woll.
hey can you help me solving this problem
is woll2woll softer reliable? and
whats wrong with its caching ?
please explain
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 6

Accepted Solution

by:
DrDelphi earned 60 total points
ID: 6911922
I cannot attest to the stability of the current versions of Woll2Woll components. I was refering to a time a number odf years ago while working on a very large medical claims processing application which used some TWWQuery components.I found that running even a simple query would go out to the database, pull in every record that met the first criteria of my Where clause, cache that to disk and then proceed to pull off the records that matched the remaining where's. For example:


Select Name,Rank,SerialNum from Personell where name like '%JONES' and Where Rank='PRIVATE'

The above query would go out to the database (which was military database of past and present servicemen... MILLIONS of records) and try to cache to disk all the records that matched NAME like '%JONES' before going on to return the subset of Rank='PRIVATE'. The way we discovered this way that even the simplest of queries would eat up all of the virtual memory  on our NT 4 boxes and ultimately give us the dreaded "Blue Screen Of Death". Yanking the Woll2Woll's from the project fixed that problem. Again, this was at least 3 years ago, and frankly I don't even recall what version it was, so please don't take this to be an indication of the controls now. I stopped using them because of that, that's all.


Good luck!!





 
0
 

Author Comment

by:girlswants_me
ID: 6911932
Thank you so much for the explaination, by the way im using
delphi 3 and woll2woll 3.0, do you have another woll2woll version that can be used? or already patched?

Thank you again.
0
 
LVL 6

Expert Comment

by:DrDelphi
ID: 6911976
Again, I haven't used it in years... coincedently in Delphi 3 as well. I'm not the best person to ask about Woll2Woll nowadays. Sorry.


0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Delphi 2 77
Graphics32 under Delphi 10.1 Berlin 2 128
shape, triangle, dbctrlgrid 3 33
SQL Server Express automatically execute SQL or SP 8 37
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question