Open the data sheet too many mistakes, how to solve?

Category: Delphi -> Database Author: xiaoyu1023 Date: 2014-12-14 10:22:36
2014-12-14 10:22:36
Open the data sheet too many mistakes, how to solve?

I use Query control to open *. Dbf accessed data, when the number of operations for a long time, about 90 times on the wrong, how to solve? Each operation has turned off Query. error message: Capacility not supported. Too Open files, you may need to increase MAXFILEHANDLE limit in IDAPI configuration.
2014-12-14 10:33:30
never met this situation.
help you up
2014-12-14 10:52:27
Please use TDatabase to manage the connection, do not connect directly with TQuery data sheet.
2014-12-14 11:03:51
alias can be any configuration, what inconvenience? Compared configure an alias, you feel your problem or does it trouble trouble? Be sure to develop good programming habits.
Replies people: wsy751022151 (wsy ) () Reputation: 1002003-03-05 10:02:00 Score: 0

; TDatabase database alias to use it, this is very convenient,

2014-12-14 11:12:41
You want to modify MAXFILEHANDLE this constant, because it Open a document defining the maximum number of
Also, why do you need to open a file it so many times? If you do not use it, put off by the release, so for your program efficiency, data security are beneficial
2014-12-14 11:22:56
MAXFILEHANDLE how to modify?

I turned off the and can still go wrong,
2014-12-14 11:37:35
TDatabase use the database alias Yeah, this is very convenient,
2014-12-14 11:48:23
guan zhu