J
John
Hi
I have a terrible scenario. I had an ms access front end/back end app that
searched on partial strings. I have coded the app in .net (access backend)
and am using the below code to search on partial strings;.
daCompanyLocate.SelectCommand = selCompanyLocate
selCompanyLocate.CommandText = "SELECT Company, [Company 2] as Parent, Type,
Tel, [Address 1] as Address, [Post Code], Town, ID " & _
"FROM Clients " & _
"ORDER BY Company"
ds.CompanyLocate.Clear()
daCompanyLocate.Fill(ds.CompanyLocate)
dv = New DataView(ds.CompanyLocate)
dv.RowFilter = "Company like '*" & Me.txtLocate.Text & "*' OR [Parent] like
'*" & Me.txtLocate.Text & "*'"
grdLocate.DataSource = dv
Unfortunately client is not impressed with the speed of this ado.net/vb.net
version compared to the same feature in access. Could someone please advise
me if I can speed this up somehow?
Thanks
Regards
I have a terrible scenario. I had an ms access front end/back end app that
searched on partial strings. I have coded the app in .net (access backend)
and am using the below code to search on partial strings;.
daCompanyLocate.SelectCommand = selCompanyLocate
selCompanyLocate.CommandText = "SELECT Company, [Company 2] as Parent, Type,
Tel, [Address 1] as Address, [Post Code], Town, ID " & _
"FROM Clients " & _
"ORDER BY Company"
ds.CompanyLocate.Clear()
daCompanyLocate.Fill(ds.CompanyLocate)
dv = New DataView(ds.CompanyLocate)
dv.RowFilter = "Company like '*" & Me.txtLocate.Text & "*' OR [Parent] like
'*" & Me.txtLocate.Text & "*'"
grdLocate.DataSource = dv
Unfortunately client is not impressed with the speed of this ado.net/vb.net
version compared to the same feature in access. Could someone please advise
me if I can speed this up somehow?
Thanks
Regards