Here's a weird one . . . I created a simple form to perform a maintenance task. A method is called that does this task. I have a SET STEP ON at the top of the method (since I am just writing it and testing it, at present). So the debugger comes up and I see all the method's code. The first thing that happens is I SELECT 0. Then I USE a table. As soon as that line executes, I get "Source not available" displayed. This is two lines into a method that it has already displayed quite nicely. Suddenly it can't find the source? I thought maybe some error was occurring and it was trying to run error trapping code that was not available (not likely since this is a very simple form with no error trapping, so it should just display a standard VFP error message). But just in case, I put some code in the Error method. When it executes the USE command and I then get the "Source not available" message, it does not drop into the Error method, so I don't think this is an error (and I can execute the same command in the Command window with no problem). I've never seen a situation where VFP displays the source, then in the middle of executing it, it decides the source is unavailable.
Russell Campbell