

I am not sure what you are asking for. That form already has a PackID search button. So are you wanting to change the data results that you search for? If that is the case then you can right click on the PackNum field and select “Quick Search Entry†at the buttom. This will require that you set up a BAQ of the datset that you are looking for. The Quick Entry Form allows you to make the Quick Search default.
I hope I was on the right path.
Dan
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
On Behalf Of sanjay219@...
Sent: Tuesday, April 08, 2014 11:12 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Search Button
Hello group,
I am in Vantage 8.03.409c. I need a search button in Miscellaneous Shipment Tracker to search for packnum and some other fields and return the results to the same form. How can i do this? Can anyone help me out. Thanks.
System.Data.DataSet dsSalesOrderAdapter = Epicor.Mfg.UI.FormFunctions.SearchFunctions.listLookup(Script.oTrans, "SalesOrderAdapter", out recSelected, false, whereClause);
if (recSelected)
{
System.Data.DataRow adapterRow = dsSalesOrderAdapter.Tables[0].Rows[0];
if((decimal)adapterRow["OrderAmt"] > 10000 && (bool)adapterRow["CheckBox09"]==false)
result=true;
}
Jose C Gomez
T: 904.469.1524 mobile
Quis custodiet ipsos custodes?
On Tue, Apr 8, 2014 at 2:11 PM, <sanjay219@...> wrote:<div> <p>Hello group,</p><div> I am in Vantage 8.03.409c. I need a search button in Miscellaneous Shipment Tracker to search for packnum and some other fields and return the results to the same form. How can i do this? Can anyone help me out. Thanks.</div>
</div> <div style="color:#fff;min-height:0;"></div>
Jose C Gomez
T: 904.469.1524 mobile
Quis custodiet ipsos custodes?
On Tue, Apr 8, 2014 at 4:28 PM, <sanjay219@...> wrote:<div> <p></p><div>Private Sub btnEpiCustom1_Click(ByVal Sender As Object, ByVal Args As System.EventArgs) Handles btnEpiCustom1.Click</div><div><span style="white-space:pre-wrap;"> </span>'// ** Place Event Handling Code Here ** </div>
Dim recSelected As BooleanDim whereClause As String = String.EmptyDim dsMscShp As DataSet = Epicor.Mfg.UI.FormFunctions.SearchFunctions.listLookup(oTrans,"MiscShipAdapter", recSelected, True, whereClause)If (recSelected) Thenmessagebox.show("test")End IfEnd sub</div> <div style="color:#fff;min-height:0;"></div>
Jose C Gomez
T: 904.469.1524 mobile
Quis custodiet ipsos custodes?
On Wed, Apr 9, 2014 at 11:37 AM, <sanjay219@...> wrote:<div> <p>Thank you Jose,</p><div> Is there any way I could add character01 field in the search results when I search from the original PackID button in the Misc Shipment Form?</div><div><br></div><p></p> </div> <div style="color:#fff;min-height:0;"></div>
Right clikc on the fileld and Quick Search Entry . Make the quick search the default.
Jose C Gomez
T: 904.469.1524 mobile
Quis custodiet ipsos custodes?
On Wed, Apr 9, 2014 at 11:58 AM, <sanjay219@...> wrote:<div> <p>Sorry Jose,</p><div> The form already has a "PackID" button. I am trying now to change the search results when I click this button. By default it has columns/fields: PackNum, Ship Date, Order Num, CustID, CustName, PO, Entry Person, Supplier ID and Supplier Name as the Search Results. I need to add Character01 field too along with this search <a rel="nofollow" target="_blank" href="http://results.ie">results.ie</a>. the search results should look like this:</div>
PackNum, Character01, Ship Date, Order Num, CustID, CustName, PO, Entry Person, Supplier ID, Supplier NameHow can I do this?</div> <div style="color:#fff;min-height:0;"></div>