<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Cannot get Query to work VB 2010' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Cannot get Query to work VB 2010' posted on the 'VB.NET' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Thu, 20 Jun 2013 04:42:09 -0700</pubDate>
    <lastBuildDate>Thu, 20 Jun 2013 04:42:09 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Cannot get Query to work VB 2010</title>
      <link>http://www.programmersheaven.com/mb/VBNET/424670/424670/cannot-get-query-to-work-vb-2010/</link>
      <description>Hello I am trying to get a query to work with Visual Basic 2010 Express addition I have pasted the code below but it just errors out with to many arguments I have taken this sample from a reference book but cannot get the darn thing to work. I have looked all over the net and Microsoft for a solution but still no go if any one can help it would really be great. BEP&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Private Sub FillBypeeps1ToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FillBypeeps1ToolStripButton.Click&lt;br /&gt;
        Try&lt;br /&gt;
            Me.TblMaintPeepsTableAdapter.FillBypeeps1(Me._Prog
ressive_1_MaintPeeps.TblMaintPeeps, (Me.ToolStripTextBox1.Text))&lt;br /&gt;
        Catch ex As System.Exception&lt;br /&gt;
            System.Windows.Forms.MessageBox.Show(ex.Message)&lt;br /&gt;
        End Try&lt;br /&gt;
&lt;br /&gt;
    End Sub&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/424670/424670/cannot-get-query-to-work-vb-2010/</guid>
      <pubDate>Thu, 01 Sep 2011 14:44:44 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Re: Cannot get Query to work VB 2010</title>
      <link>http://www.programmersheaven.com/mb/VBNET/424670/424671/re-cannot-get-query-to-work-vb-2010/#424671</link>
      <description>Some days ago I was facing that kind of problem with one of my custom software. Mr. Kyle Gush help me in this problem. Kyle Gush of New York is an expert programmer. You may contact with him.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/424670/424671/re-cannot-get-query-to-work-vb-2010/#424671</guid>
      <pubDate>Fri, 02 Sep 2011 03:38:18 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>This post has been deleted.</title>
      <link>http://www.programmersheaven.com/mb/VBNET/424670/424672/this-post-has-been-deleted/#424672</link>
      <description>This post has been deleted.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/424670/424672/this-post-has-been-deleted/#424672</guid>
      <pubDate>Fri, 02 Sep 2011 03:41:04 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Re: Cannot get Query to work VB 2010</title>
      <link>http://www.programmersheaven.com/mb/VBNET/424670/424678/re-cannot-get-query-to-work-vb-2010/#424678</link>
      <description>Managed to get tis to work. The issue is about the type of tables you are  trying to query Access and SQL server behave differently. The real issue is that there are very few examples that explain it even in the microsoft website. The qurey that works and the VB code is below. This gets rid of the overflow error and allows a user to enter an open ended string to search by bottom line is all is good. Thanks for the help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Query&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
SELECT        PeepsID, PeepsPersonelNum, PeepsFrstNam, PeepsLastNam, [PeepsPhone#], [PeepsAltPhone#], PeepsShift, PeepsFullName&lt;br /&gt;
FROM            TblMaintPeeps&lt;br /&gt;
WHERE        (PeepsLastNam like '%' + ? + '%' )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;VB Code:&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
 Private Sub FillBypeeps1ToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FillBypeeps1ToolStripButton.Click&lt;br /&gt;
        Dim PeepsLastNam As String&lt;br /&gt;
&lt;br /&gt;
        PeepsLastNam = ToolStripTextBox1.Text&lt;br /&gt;
&lt;br /&gt;
        Try&lt;br /&gt;
            Me.TblMaintPeepsTableAdapter.FillBypeeps1(Me._Prog
ressive_1_MaintPeeps.TblMaintPeeps, PeepsLastNam)&lt;br /&gt;
        Catch ex As System.Exception&lt;br /&gt;
            System.Windows.Forms.MessageBox.Show(ex.Message)&lt;br /&gt;
        End Try&lt;br /&gt;
&lt;br /&gt;
    End Sub&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/424670/424678/re-cannot-get-query-to-work-vb-2010/#424678</guid>
      <pubDate>Sat, 03 Sep 2011 09:07:50 -0700</pubDate>
      <category>VB.NET</category>
    </item>
  </channel>
</rss>