Christof is right ... it's likely a scope issue on the variables involved. FRX2Word is a class and not native to VFP; therefore, you have to be extra careful about making sure that vars are visible to it.
>Hello One And All,
>
>When I use Frx2Word to I keep getting a return of error -200. Through research, the
>-200 is the result of a line in a method called objdstribution. The line the error is happening is:
>
>vexpr = Evaluate(m.vexpr)
>
>
>Where at this point, m.vexpr = Schedule Grid Report. When I added the single quotes around the expresion, that solved that problem, but brought up another.
>
>I'm getting an error on this line:
>
>IF abandobj(m.i,3)<0
>
>This is because abandobj(m.i,3) = 'Schedule Grid Report'
>
>'Schedule Grid Report' is the title of the report I want to convert.
>
>Is the any way I can stop these errors?
>
>Bob Gatto
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05