Re: Data connection not working properly in Server Explorer

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Zachary Turner (divisortheory_at_gmail.com)
Date: 09/27/04


Date: 27 Sep 2004 10:50:34 -0700

Hmm... Apparently I have to use %Crystal when running it through ADO
objects, but *Crystal when running it through Access. % doesn't work
in Access and * doesn't work in ADO. Annoying, since now I can't use
my previously saved view.

Zachary Turner wrote:
> I have a data connection to an access database, and inside the access
> database there is a query of which the text is:
>
> SELECT Name FROM Items WHERE Name LIKE '*Crystal' ORDER BY Name;
>
> When I run this query in Access it works fine, and I get back a list
of
> all entries in the Items table which end with the text Crystal. In
the
> server explorer this shows up as a View, and when I "Retrieve Data
from
> View" it comes back empty. However, two other views do not come back
> empty, and I wonder if it has something do with the specific
mechanics
> of the query. Can somebody help me out here?
>
> Thanks



Relevant Pages

  • Re: Having problem with this query
    ... Are you using ADO? ... try to use % as wildcard, instead of *, also, use ' ... > I have a few records in an Access database. ... > If i use this query in Access, ...
    (microsoft.public.vb.general.discussion)
  • Re: linked tables
    ... table defined in the Access database which is linked to a SQL Server table. ... but when I try to run a query that joins the linked & ... Can somebody explain to me how this is done in ADO? ... Microsoft MVP ...
    (microsoft.public.vb.database.ado)
  • Re: running a make table query in an access database from VB
    ... Here is an example how to call the query against Access database. ... inside of the example, you will see that ADO ... but will not return the recordset. ...
    (microsoft.public.data.ado)
  • set up a query to find only records that are empty in one field
    ... I have set up an Access Database. ... I would like to be able to set up a query ... which finds results where a particular field is empty. ... Expression Builder, but cannot seem to get it working. ...
    (microsoft.public.access.queries)
  • Data connection not working properly in Server Explorer
    ... I have a data connection to an access database, ... database there is a query of which the text is: ... View" it comes back empty. ...
    (microsoft.public.dotnet.framework.windowsforms.databinding)