I think that's the number
13... :)
>I tried using 'myreport' and i tried using 'tablealias' for the table alias. The REPORT FORM still stomps on my rpt013 variable that hold the temporary file name when it returns to the .prg. At this point guess i will just DELETE FILE(testrpt013a). I know that works, just wondering what the REPORT is doing that it loses my variable expression that has the file name.
>
>thanks for the info on & and ()
>
>>Brenda, did you try to change the variable name?
>>myreport = "rpt013a"
>>REPORT FORM (myReport)
>>
>>&rpt013a is macro substitution and (rpt013a) is a name expression.
>>
>>VFP Help says: Whenever possible, use a name expression instead of macro >substitution. A name expression operates like macro substitution. However, a >name expression is limited to passing character strings as names. Use a name >expression for significantly faster processing if a command or function >accepts a name (a file name, window name, menu name, and so on).
>
>
>>>.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison