PC Review


Reply
Thread Tools Rate Thread

Can't Get Simple Query to work on Site

 
 
=?Utf-8?B?U2FtIEIu?=
Guest
Posts: n/a
 
      24th Dec 2004
I have created a simple query using Access. This is the query:

SELECT Labels.Label, Labels.Name, Labels.Picture
FROM Labels
WHERE ((Labels.Name) Like "N*");

When I go through the Database Result Wizard I enter this query in manually
through the edit button. When I publish my site the page says that no
results can be found. When I run the query in access I see the results as
intended. Is there something I'm doing wrong?

Sam
 
Reply With Quote
 
 
 
 
Jon Spivey
Guest
Posts: n/a
 
      24th Dec 2004
Hi,
* only works for Access on the desktop - on the web you need %
SELECT Labels.Label, Labels.Name, Labels.Picture
FROM Labels
WHERE Labels.Name Like 'N%'

It's not always obvious but Access as part of office is a different product
to access you use on the web.

--
Cheers,
Jon
Microsoft MVP


"Sam B." <(E-Mail Removed)> wrote in message
news:30CED289-4D08-4415-9C9C-(E-Mail Removed)...
>I have created a simple query using Access. This is the query:
>
> SELECT Labels.Label, Labels.Name, Labels.Picture
> FROM Labels
> WHERE ((Labels.Name) Like "N*");
>
> When I go through the Database Result Wizard I enter this query in
> manually
> through the edit button. When I publish my site the page says that no
> results can be found. When I run the query in access I see the results as
> intended. Is there something I'm doing wrong?
>
> Sam



 
Reply With Quote
 
=?Utf-8?B?U2FtIEIu?=
Guest
Posts: n/a
 
      24th Dec 2004
Great! Worked like a charm.

Thank you

"Jon Spivey" wrote:

> Hi,
> * only works for Access on the desktop - on the web you need %
> SELECT Labels.Label, Labels.Name, Labels.Picture
> FROM Labels
> WHERE Labels.Name Like 'N%'
>
> It's not always obvious but Access as part of office is a different product
> to access you use on the web.
>
> --
> Cheers,
> Jon
> Microsoft MVP
>
>
> "Sam B." <(E-Mail Removed)> wrote in message
> news:30CED289-4D08-4415-9C9C-(E-Mail Removed)...
> >I have created a simple query using Access. This is the query:
> >
> > SELECT Labels.Label, Labels.Name, Labels.Picture
> > FROM Labels
> > WHERE ((Labels.Name) Like "N*");
> >
> > When I go through the Database Result Wizard I enter this query in
> > manually
> > through the edit button. When I publish my site the page says that no
> > results can be found. When I run the query in access I see the results as
> > intended. Is there something I'm doing wrong?
> >
> > Sam

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Query Notification - Doesn't Work!! =?Utf-8?B?15PXldeT?= Microsoft ADO .NET 8 7th Jul 2006 11:08 AM
Simple query w. subquery doesn't work =?Utf-8?B?QmFsZXg=?= Microsoft Access Queries 4 16th May 2006 09:37 PM
Trying to get a simple webpage with SQL 2005 Express to work on my hosted site Martin Randall Microsoft ASP .NET 8 28th Mar 2006 07:18 PM
Nz function doesn't work in simple query =?Utf-8?B?S2ltQ2xhcms=?= Microsoft Access Queries 4 28th Sep 2005 09:06 PM
Help Please !! Simple Query and I cannot get it to work !! James Microsoft Access Queries 2 13th Apr 2004 04:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:14 PM.