Thanks. I should have tried the obvious. I tried parenthesizes and brackets, but not by itself, duh! Thanks again.
Dan
-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of bw2868bond
Sent: Friday, September 21, 2012 6:46 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: E9: Converting VB -> C#: adapter.GetRows parameters
dsPartDataSet = partAdapter.GetRows(opts, out MorePages);
Dan
-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of bw2868bond
Sent: Friday, September 21, 2012 6:46 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: E9: Converting VB -> C#: adapter.GetRows parameters
dsPartDataSet = partAdapter.GetRows(opts, out MorePages);
--- In vantage@yahoogroups.com, "dgodfrey_amc" <dgodfrey@...> wrote:
>
> How do you identify the 'out' keyword? Below is my snippet of code and then the error. when I remove the second parameter, I also get an error, saying that there is no overloaded function with one parameter.
>
> Can someone help?
>
> string whereClause = "CheckBox02 = True AND TypeCode = 'M'"; bool
> MorePages = false;
>
> opts.NamedSearch.WhereClauses.Add("Part", whereClause); dsPartDataSet
> = partAdapter.GetRows(opts, MorePages);
>
>
> Error: CS1502 - line 445 (2807) - The best overloaded method match
> for
> 'Epicor.Mfg.UI.Adapters.PartAdapter.GetRows(Epicor.Mfg.UI.Searches.Sea
> rchOptions, out bool)' has some invalid arguments
> Error: CS1620 - line 445 (2807) - Argument '2' must be passed with
> the 'out' keyword
>
------------------------------------
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links