That was it,
Thanks,
Mike
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
bw2868bond
Sent: Thursday, January 03, 2013 8:34 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Limit records being loaded in UltraCombo field
Change Like to MATCHES
Change % to *
--- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> , "Mike
Numbers" wrote:
Behalf Of
Thanks,
Mike
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
bw2868bond
Sent: Thursday, January 03, 2013 8:34 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Limit records being loaded in UltraCombo field
Change Like to MATCHES
Change % to *
--- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> , "Mike
Numbers" wrote:
>Name.
> Just getting back to this after the holidays.
>
>
>
> I changed -
>
> > string whereClause = String.Empty;
>
> To-
>
> string whereClause = "RoleCode like 'Eng%'";
>
>
>
> When I open the program I get the following message-
>
> Invalid query: where Company = 'CIGNYS' and (RoleCode like 'Eng%') BY
>[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
>
>
> No records are then being passed through the adapter.
>
>
>
> Mike
>
>
>
> From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Behalf Of
> Mark Wonsil(whereClause)
> Sent: Wednesday, December 26, 2012 9:29 PM
> To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> Subject: Re: [Vantage] Re: Limit records being loaded in UltraCombo field
>
>
>
>
>
> Hi Mike,
>
> > string whereClause = String.Empty;
> >
> > System.Data.DataSet dsSalesRepAdapter =
> > Epicor.Mfg.UI.FormFunctions.SearchFunctions.listLookup(oTrans,
> > "SalesRepAdapter", out recSelected, false, whereClause);
>
> You're filling the combo with a query but the query condition
> is set to blank. Try setting it to something like:[Non-text portions of this message have been removed]
>
> whereClause = "RoleCode like 'Eng%'";
>
> It's not a C# thing really, you just need to pass the adapter the correct
> selection.
>
> Mark W.
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
> [Non-text portions of this message have been removed]
>