>Larry,
>
>A small correction: don't need to use public variables. Local variables from form would work just fine. They should work from program too, but recently we found a situation, where they didn't, so just in case, you may declare them to be private, if report is called from the program.
>
I completely take your point. I think the reason I got started was when debugging the actual report form I found it easier to have these variables defined as public in memory, so that I could work on the report from from the command line. I've probably been guilty of doing this since, oh... FoxPro 1.0 for DOS.
I'm not sure why I still use them as Public, except for General Sloth, even though I always attempt to release after I'm done. --- L
-- Larry Keyes
Remember only You can prevent Gray Goo. Never release nanobot assembers without replication limiting code.