>I am working on a small application. On my Form I have to select The Month and the year. Suppose I select Month as april and year as 2013. I need to print the same on my report file (.frx).
>
>So,
>
>(1) Do I need to declare them as Public ?
>(2) Where should I place or declare them in my program(prg) or .H file or somewhere else ?
>(3) I have heard that In forms also variable are declared as Public, if Yes How and whats the method.
>
>Kinldy Guide
>Harsh
You don't have to declare them public. You can declare them local prior to calling the report REPORT FORM command and they will be visible in the report. In worse case scenario you may declare them private.
If it's not broken, fix it until it is.
My Blog