hi John,
MPR files are nothing but the PRGs. You just trace it cooly with all possibilities. I am sure you will find the error somewhere. I don't see VFP making any mistakes here.
In your second problem, Just change the condition as follows.
TYPE("oWord") = "U" OR ISNULL(oWord) OR oWord.Documents.Count = 0
Make sure you releasing oWord variable at proper place.
Bye
Jayesh
>Hi,
> How could I know where is the error in .mpr file during run-time?
>I have menu on my top level form. Sometime, I got error of alias is not found but sometime don. Why? How to solve it? I have include the needed table into dataenvironment and access them by
>select workarea
>use table again shared
>
>Again, when i place the following experession in SKIP FOR column it gices me the error myvariable is not an object...
>type("oword") = "U" .OR. oword.documents.count = 0
>
>It works in command window.
>Where is my mistake???
>
>Thank you
- Jayesh