Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TOO MANY FILES OPEN
Message
From
02/09/1998 02:51:14
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
01/09/1998 10:47:17
Raymond Humphrys
Michigan Department of Community Health
Bath, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00131881
Message ID:
00132221
Views:
21
>>>I have a routine that RE-INDEX about 54 files. When I go to reindex the files i get to reindex all of them. In other machines I get a message saying: TOO MANY FILES OPEN.
>>>
>>>Any clue on this message?
>>>Thanks.
>>Files that could be opened simultaneously is determined by OS and config.sys setting. A fox table with a CDX counts for 2 handles, if it has memo 3 handles and so on. The simpliest solution is to close the indexed one and open a new table so you will use minimum handles and don't have to check each stations files count.
>>Cetin
>W95 or NT?
What would it matter ? Both normally doesn't have that old dos limit. But if he's using a netware client software then probably files setting is at its default 40. Setting files a higher number in config.sys would eliminate the problem but should be done per station. Instead having the routine open one table per reindex is a better solution. George has already provided the sample code for that.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform