150de Query Criteria
Sign Up |  Live StatsLive Stats    Articles 37,302| Comments 176,979| Members 19,397, Newest birinder| Online 369
Home Contact
 (Forgotten?): 
    Sikhism
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Query Criteria

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 100 USD (20%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
query criteria Chey Information Technology 0 28-Jul-2006 08:27 AM
query criteria Levans digital Information Technology 5 28-Jul-2006 08:25 AM
more than 1 in one query criteria msmuzila@gmail.com Information Technology 0 28-Jul-2006 08:22 AM
query criteria Jessica Information Technology 9 01-Nov-2005 13:40 PM
query criteria Jessica Information Technology 1 27-Oct-2005 12:27 PM


Tags
query, criteria
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:28 AM
wal50's Avatar wal50
Guest
 
Posts: n/a
   
   
Query Criteria

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
I want to query a file if a field is <> 200 and <>between 30 and 39.
I get a syntax error. It doesn't seem to like the <>Between N and N. Is
this not allowed?
I have tried:
<> 200 and <>between 30 and 39 against one field
and each element separately.
The field is numeric.
Nothing seem to work.
Any ideas are appreciated.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/12329-query-criteria.html
Thanks in advance
wal50
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12329

*







Do share your immediate thoughts or reactions on this issue? We value your views! Login Now! or Sign Up Today! to share your views with us.. Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:28 AM
wal50's Avatar wal50
Guest
 
Posts: n/a
   
   
RE: Query Criteria

(<>200 and <30) or (<>200 and >39) works but how come the <>between doesn't

"wal50" wrote:

> I want to query a file if a field is <> 200 and <>between 30 and 39.
> I get a syntax error. It doesn't seem to like the <>Between N and N. Is
> this not allowed?
> I have tried:
> <> 200 and <>between 30 and 39 against one field
> and each element separately.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12329
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12329
> The field is numeric.
> Nothing seem to work.
> Any ideas are appreciated.
> Thanks in advance
> wal50

Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:28 AM
Larry Daugherty's Avatar Larry Daugherty
Guest
 
Posts: n/a
   
   
Re: Query Criteria

If MyField <> 200 then
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12329
if MyField >= 30 AND MyField <= 39 then
Run the Query ...
end if
end if

--
-Larry-
--

"wal50" wrote in message
news:91CDCF88-92F0-48C7-8DFE-426AF4281A88@microsoft.com...
> I want to query a file if a field is <> 200 and <>between 30 and 39.
> I get a syntax error. It doesn't seem to like the <>Between N and

Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12329
N. Is
> this not allowed?
> I have tried:
> <> 200 and <>between 30 and 39 against one field
> and each element separately.
> The field is numeric.
> Nothing seem to work.
> Any ideas are appreciated.
> Thanks in advance
> wal50



Reply With Quote
  #4 (permalink)  
Old 28-Jul-2006, 08:28 AM
wal50's Avatar wal50
Guest
 
Posts: n/a
   
   
Re: Query Criteria

  Donate Today!  
Works Thanks

"Larry Daugherty" wrote:
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12329

> If MyField <> 200 then
> if MyField >= 30 AND MyField <= 39 then
> Run the Query ...
> end if
> end if
>
> --
> -Larry-
> --
>
> "wal50" wrote in message
> news:91CDCF88-92F0-48C7-8DFE-426AF4281A88@microsoft.com...
> > I want to query a file if a field is <> 200 and <>between 30 and 39.
> > I get a syntax error. It doesn't seem to like the <>Between N and

> N. Is
> > this not allowed?
> > I have tried:
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12329
> > <> 200 and <>between 30 and 39 against one field
> > and each element separately.
> > The field is numeric.
> > Nothing seem to work.
> > Any ideas are appreciated.
> > Thanks in advance
> > wal50

>
>
>

Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Active Discussions
BHOOTS (Ghosts) and...
Today 13:36 PM
93 Replies, 13,732 Views
Textbooks Spotted...
By akiva
Today 13:17 PM
7 Replies, 86 Views
Do you believe in...
By akiva
Today 12:46 PM
174 Replies, 3,580 Views
Nitnem Gutka - Gurmukhi...
By Ishna
Today 12:27 PM
15 Replies, 16,386 Views
Poetry Corner
Today 12:13 PM
83 Replies, 9,583 Views
Map shows world's 'most...
Today 07:16 AM
13 Replies, 176 Views
Why are There so Many...
Today 06:19 AM
49 Replies, 4,814 Views
Learn Punjabi Yourself...
Today 05:41 AM
15 Replies, 7,614 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Today 05:32 AM
167 Replies, 4,297 Views
The Great Imp Debate
Today 05:28 AM
32 Replies, 490 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 05:16 AM
299 Replies, 7,383 Views
Thought of the Moment!
Today 04:01 AM
105 Replies, 4,992 Views
Panjabi
Today 02:14 AM
9 Replies, 207 Views
Fresno Sikh Who Was...
Today 01:30 AM
0 Replies, 48 Views
Guns of the Nihangs...
Today 01:24 AM
0 Replies, 50 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 14:07 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.33143 seconds with 32 queries
0