Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Too many files open
Message
From
10/04/1997 16:42:15
 
 
To
10/04/1997 16:25:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00027836
Message ID:
00027840
Views:
33
>I am new to VFP and am attempting to write a timekeeping program. The requirement is to have all entered records for the pay period on the screen at once (so I use a grid on a form) and to be able to input data directly into the cells(right word?) or to be able to press a trigger of some sort (I used double click) to display only valid values from a reference table (free table) or a table from another database for each cell(?) I can get this to work for the first 5 cells(?), but when I add the double click method to the 6th cell and run the form, I get the message "Too many files open". To confuse me futher, when I click on help, which is supposed to (as I understand it) give me help re: my error message. I get a completely different error. This error says something about I am trying to pass something invalid between methods. Is there a better way to achieve what I am trying to do or Iam I on the path I want to follow and need a little help to get past this roadblock. If I need
>a little help, can you point me in the right direction?


How are you opening your files? When you are testing and get this error, have you tried suspending the program and looking at the View Window to see exactly how many files ARE open? Keeping in mind that for every .DBF that is open you are using a file handle for it, its .CDX (if existing) and one for the memo file (.FPT), if existing.

What are the file handles set to in the config.sys? for the network? what Windows is it running on?
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform