Page 1 of 1

setFilterUsage error

Posted: Tue Dec 04, 2001 3:01 pm
by JeffBarefoot
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

=> RE: setFilterUsage error

Posted: Thu Dec 06, 2001 5:14 pm
by kfleming
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