PC Review


Reply
Thread Tools Rate Thread

Database report

 
 
=?Utf-8?B?YW5uYU1hYw==?=
Guest
Posts: n/a
 
      10th Nov 2005
I must be doing something wrong (again) I need to open a database page that
filters the results ie: only shows the results of people living in
Manchester. If I set the query as follows: SELECT * FROM Results WHERE City
= '::Manchester::' I get the No records returned when I run the page even
though I know there are some records containing Manchester - (This is
selected from a drop down list when someone inputs the info into the form.)
Must be the Syntax I am using?
 
Reply With Quote
 
 
 
 
Kathleen Anderson [MVP - FrontPage]
Guest
Posts: n/a
 
      10th Nov 2005
From: http://support.microsoft.com/kb/306430 If you manually enter the
Value, the SQL statement looks like this:
SELECT * FROM Categories WHERE (CategoryName = 'text string')

So, try SELECT * FROM Results WHERE City = 'Manchester'

--
~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
web: http://www.spiderwebwoman.com/resources/


"annaMac" <(E-Mail Removed)> wrote in message
news:651413D9-A453-413C-8C9D-(E-Mail Removed)...
>I must be doing something wrong (again) I need to open a database page that
> filters the results ie: only shows the results of people living in
> Manchester. If I set the query as follows: SELECT * FROM Results WHERE
> City
> = '::Manchester::' I get the No records returned when I run the page even
> though I know there are some records containing Manchester - (This is
> selected from a drop down list when someone inputs the info into the
> form.)
> Must be the Syntax I am using?



 
Reply With Quote
 
=?Utf-8?B?YW5uYU1hYw==?=
Guest
Posts: n/a
 
      10th Nov 2005
Thanks! that did it.

"Kathleen Anderson [MVP - FrontPage]" wrote:

> From: http://support.microsoft.com/kb/306430 If you manually enter the
> Value, the SQL statement looks like this:
> SELECT * FROM Categories WHERE (CategoryName = 'text string')
>
> So, try SELECT * FROM Results WHERE City = 'Manchester'
>
> --
> ~ Kathleen Anderson
> Microsoft MVP - FrontPage
> Spider Web Woman Designs
> web: http://www.spiderwebwoman.com/resources/
>
>
> "annaMac" <(E-Mail Removed)> wrote in message
> news:651413D9-A453-413C-8C9D-(E-Mail Removed)...
> >I must be doing something wrong (again) I need to open a database page that
> > filters the results ie: only shows the results of people living in
> > Manchester. If I set the query as follows: SELECT * FROM Results WHERE
> > City
> > = '::Manchester::' I get the No records returned when I run the page even
> > though I know there are some records containing Manchester - (This is
> > selected from a drop down list when someone inputs the info into the
> > form.)
> > Must be the Syntax I am using?

>
>
>

 
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
Print Database Path and Report Name on Report Scott Microsoft Access Reports 5 7th May 2009 06:05 PM
DATABASE CRASHES when creating new report from existing report Sammie Microsoft Access Database Table Design 6 25th Jan 2008 01:55 AM
Run report in one database from another database =?Utf-8?B?U3RldmVANTM=?= Microsoft Access 1 28th Nov 2006 09:10 PM
Exporting a Report Design (Object) from one database to another database Sudhakara Microsoft Access External Data 2 4th Feb 2004 04:48 AM
How to do a report on a database tina Microsoft Access 0 26th Jul 2003 05:29 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:45 AM.