You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

32 lines
975 B

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace Stone.WinModule.BasicData
{
public partial class frmLocation : Stone.WinModule.BasicData.frmBaseMain
{
public frmLocation()
{
InitializeComponent();
this.tlbInput.Visible = false;
}
public override void Search(string code)
{
base.Search(code);
strWhere += " or [Address1] like '%" + code + "%'";
strWhere += " or [Address2] like '%" + code + "%'";
strWhere += " or [Address3] like '%" + code + "%'";
strWhere += " or [LocCode1] like '%" + code + "%'";
strWhere += " or [LocCode2] like '%" + code + "%'";
strWhere += " or [LocCode3] like '%" + code + "%'";
strWhere += " or [LocCode4] like '%" + code + "%'";
}
}
}