diff --git a/R/bsrch.R b/R/bsrch.R index 9c2f41c..f15a184 100644 --- a/R/bsrch.R +++ b/R/bsrch.R @@ -39,7 +39,7 @@ ##' works on user-defined searches accessed via SRCH. ##' @examples ##' \dontrun{ -##' head(bsrch("FI:YOURSRCH"), 20) +##' head(bsrch("FI:SRCHEX.@CLOSUB"), 20) ##' } bsrch <- function(domain, limit="", diff --git a/man/bsrch.Rd b/man/bsrch.Rd index 4e0dd98..8b4a274 100644 --- a/man/bsrch.Rd +++ b/man/bsrch.Rd @@ -36,7 +36,7 @@ works on user-defined searches accessed via SRCH. } \examples{ \dontrun{ -head(bsrch("FI:YOURSRCH"), 20) +head(bsrch("FI:SRCHEX.@CLOSUB"), 20) } } \author{ diff --git a/src/bsrch.cpp b/src/bsrch.cpp index 1000a74..c05fc6c 100644 --- a/src/bsrch.cpp +++ b/src/bsrch.cpp @@ -189,7 +189,7 @@ DataFrame bsrch_Impl(SEXP con, Service exrService = session->getService(exrsrv.c_str()); Request request = exrService.createRequest("ExcelGetGridRequest"); - request.getElement(Name{"Domain"}).setValue(Name{domain.c_str()}); + request.getElement(Name{"Domain"}).setValue(domain.c_str()); // TODO - implement limit and other overrides