Re: Queries to an Access db from vs2005
- From: "max" <max@xxxxxxx>
- Date: Wed, 24 Jan 2007 17:34:34 +0100
Anybody can help?
Thanks.
Max
"max" <max@xxxxxxx> ha scritto nel messaggio
news:ARpth.18500$bH4.6269@xxxxxxxxxxxxxxxxxxxxxxxx
If I do that:
SELECT * FROM table WHERE name LIKE name + '*'
I get an error when starting compiling application:
"Too many arguments for "Public Overridable Overloads Function
FillByName(dataTable As demoDataSet.myTableDataTable) As Integer".
It reminds in a VB line:
"Me.MyTableTableAdapter.FillByName(Me.demoDataSet.myTable,
NameToolStripTextBox.Text)",
in which the error is underlined on "NameToolStripTextBox.Text". This is
the textbox where I digit the items to search for in my db.
Help would be appreciated.
Thanks.
"Shkedy" <shkedy@xxxxxxxxxxxxxxxxx> ha scritto nel messaggio
news:Og9IhOoPHHA.1248@xxxxxxxxxxxxxxxxxxxxxxx
The wildcard character in Jet-SQL (Access) is * and not %
That should do it
Sagi Shkedy
http://Blog.shkedy.com
"Max" <nobody@xxxxxxxxxxxxxxxxxxx> wrote in message
news:45b54784$0$7735$5fc30a8@xxxxxxxxxxxxxxxxxx
Hello,
I just have a form in which there's a textbox for queries. I need to use
the SQL statements for an Access db, like this, which works fine in a
SQL db:
SELECT * FROM table WHERE name LIKE @name + '%'
I just need to query the db to find names that start with letters I
digit in the textbox.
This query comes from dataset designer. If I use it in my Access db I
get a syntax error from framework. Which is the Access equivalent?
Thanks.
Max
.
- References:
- Queries to an Access db from vs2005
- From: Max
- Re: Queries to an Access db from vs2005
- From: Shkedy
- Re: Queries to an Access db from vs2005
- From: max
- Queries to an Access db from vs2005
- Prev by Date: Re: Adding date to parameter
- Next by Date: Re: Transaction
- Previous by thread: Re: Queries to an Access db from vs2005
- Next by thread: Re: Queries to an Access db from vs2005
- Index(es):
Relevant Pages
|