I've go a dilemma in that looking at some old rubbish code (FPD26), tables are continually opened in specified work areas and closed. Now there's a table that I need to ensure I keep open throughout the app. I do:
Select 0
Use DefDirs
But 0 returns 1, as this is the first table oppened. Within a heartbeat there is code to:
Select 1
Use Whatever
and this happens (1 used) throughout this sorry suite of code.
So it looks like my only recourse is to open DefDirs in a numbered area that won't get re-used.
Now AFAIK you can only use 25 work areas in FPD26. I was thinking of opening DefDirs in 25. But I need to check through this labyrynth of progs to check that 25 (or whatever) isn't used somewhere else (for the same lame reason).
Anyone know of a readily-available tool that can search a bunch of files for a specific string?
'ppreciate it
Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.