setScopeUsage error
setScopeUsage error
[updated:LAST EDITED ON Mar-03-08 AT 05:22 PM (EST)]I am trying to use setScopeUsage in VFP9 so that I can access the scope in my report. I am getting an invalid scope type when I set it to setScopeUsage(lnRRW, "O") it is declared as: Declare Long setScopeUsage In "rrrpt32.dll" Long hReport, String scopeFlag____Any idea why this is happening? All the other parameters that I am passing come through without a problem.____Thanks!____Quail