Help Please with Select Statement using AND 
Author Message
 Help Please with Select Statement using AND

This is probably ridiculously easy but I can't figure or
find any examples
of how to use "AND" here is my example

Set rst = dbs.OpenRecordset("select count(*) from
[memberstable] where
[active]=true AND where [clubId] = me!clubId")

I've tried & and other variations but just can't figure
it.  So any help
would be definately appreciated.

Thanks

Sharon B



Tue, 27 Sep 2005 16:05:46 GMT  
 Help Please with Select Statement using AND
Answered in m.p.a.formscoding


Tue, 27 Sep 2005 16:57:33 GMT  
 Help Please with Select Statement using AND
(already answered in gettingstarted)

Please do not multi-post.

If you think it is necessary for your question to appear in more than one
newsgroups (it rarely is), use cross-posting (sending only ONE post with up
to 3 relevant newsgroup addresses on the post).

--
HTH
Van T. Dinh
MVP (Access)


Quote:
> This is probably ridiculously easy but I can't figure or
> find any examples
> of how to use "AND" here is my example

> Set rst = dbs.OpenRecordset("select count(*) from
> [memberstable] where
> [active]=true AND where [clubId] = me!clubId")

> I've tried & and other variations but just can't figure
> it.  So any help
> would be definately appreciated.

> Thanks

> Sharon B



Wed, 28 Sep 2005 05:21:55 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. SELECT STATEMENT -- SQL GURU HELP PLEASE

2. Sql - select statement - Please help

3. Please Help: Long select statement for ADO

4. PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP,

5. Using SELECT to get a number into VB variable (As Currency)...please help

6. using the select statement

7. Using SELECT Statement with Date Keyword

8. Using a wildcard string comparison in a select case statement

9. !!!! Using Select Statement in VB4 !!!!

10. select statement using script-result ?

11. Using multiple tables in SELECT statement

12. A (simple) SELECT statement using variables

 

 
Powered by phpBB® Forum Software