setFilterUsage error
-
- Posts: 7
- Joined: Tue Oct 10, 2017 12:44 pm
setFilterUsage error
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
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