setFilterUsage error

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

setFilterUsage error

Post by JeffBarefoot » Tue Dec 04, 2001 3:01 pm

I^m implementing R&R via .dll functionality. When I use setFilterUsage( hRpt , "?" ) I get an error - Code = "J", text = "Invalid query type."____Everything seems to work fine other than that. I get the same error whether or not I use "setFilter()" to use my own filter. I^ve tried ?,S, and O as the second paramaters.____Jeff

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

=> RE: setFilterUsage error

Post by kfleming » Thu Dec 06, 2001 5:14 pm

Try using the procedure NullTerminatedString (see below) to format parameters for the runtime calls, and NullTermToVBString to reformat data returned by the runtime.____Example:__setFilter hReport:=ReportHandleIntLng, ____charval:=NullTerminatedString(.RI_FILTER, FILTERLENGTH)______Kathleen__R&R Support

Post Reply