Viewer Error using DLLs

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
jgabuardi
Posts: 13
Joined: Tue Oct 10, 2017 12:44 pm

Viewer Error using DLLs

Post by jgabuardi » Wed May 12, 2004 4:56 pm

I am almost finish a customer app, I convert the accounting system from Clipper to Xbase running over MS-IIS, and I want to reuse the R&R reports. I am using Viewer by DLLs and all calls work fine exept for SetScopeUsage & SetFilterUsage.____if I use:__ SetScopeUsage(nReport, "O") //Overwrite__ SetFilterUsage(nReport, "O") // Overwrite__I get:__ cSSU:=cSFU:=" "__ GetScopeUsage(nReport, @cSSU) //extrange caracter__ GETFilterUsage(nReport, @cSFU) // extrange caracter____I try diferent to send the "O" in variables or by reference but is not working.____Any idea?____Regards____Jorge

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: Viewer Error using DLLs

Post by kfleming » Thu May 13, 2004 2:34 pm

"O" to override the saved report setting should be a valid entry.__Does the report have a saved filter or scope?__DO you see the error with any report?____Kathleen__R&R Support

jgabuardi
Posts: 13
Joined: Tue Oct 10, 2017 12:44 pm

==> RE: Viewer Error using DLLs

Post by jgabuardi » Mon May 17, 2004 10:29 pm

Kathleen____I found the problem, I was using (as documented)____SetScopeUsage(nReport, "O" )//Overwrite__SetFilterUsage(nReport, "O" ) // Overwrite____but it works with ____SetScopeUsage(nReport, asc("O")) //Overwrite__SetFilterUsage(nReport, asc("O")) // Overwrite____thank you any way____Regards____Jorge____>"O" to override the saved report setting should be a valid __>entry. __>Does the report have a saved filter or scope? __>DO you see the error with any report? __>__>Kathleen __>R&R Support __

Post Reply