>I created an APP, and when running it with test data, I got an error, to the effect that no parameter statement was found. The LPARAMETERS statement was right there, in the Init() method of the form, which was defined as the main file.
>
>As a workaround, I created a PRG to receive the parameters and pass them on to the form; I suppose the form simply doesn't work this way, in an APP or EXE, but I was wondering whether I was missing something.
>
>Update: Oh, that's VFP version 9.
I think it's always a good idea to use a main prg. I don't remember if it's related to this problem or not.
If it's not broken, fix it until it is.
My Blog