Microsoft Access Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft Access Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old November 17th, 2004, 07:00 AM
nikkimc nikkimc is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 13 nikkimc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Exclamation Query By Form (Multi)

Hope someone can help here before i actually go grey with trying. I have a small form which has start/end dates, problem text searches, closed dates, PR's etc etc linked to a fault logging ODBC database. I want the user to be able to specify what results they want to see i.e.

All Calls that were logged between 01/01/04 and 17/11/04 - with SQL in the problem text and all PR1's.

Hope im making sense here.

I have create the QBF and the query which has the following criteria used:

For example Calls Opened = (txtStart_open) and (txtStart_End) Therefore Criteria should =

Between Forms![QBF]![txtStart_Open] And Forms![QBF]![txtStart_End] Or Forms![QBF]![txtStart_Open] Is Null

This criteria works on its own however when i add in {problem text search and pr} it just gives me all records back:

Problem Text Search =

Like Forms![QBF]![txtProb] & "*" Or Forms![QBF]![txtProb] Is Null

I thought i had this one sussed however me being me there is always a problem. Hope someone can shed some light on QBF using multi user searches.

Thank You

Nikki McInnes

Reply With Quote
  #2  
Old November 17th, 2004, 01:53 PM
lwells lwells is offline
Contributing User
Dev Articles Novice (500 - 999 posts)
 
Join Date: Sep 2004
Posts: 632 lwells User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 21 h 59 m 38 sec
Reputation Power: 5
Nikki,

I am not familar with syntax and sql server but don't you have to group your wild card?

Like (Forms![QBF]![txtProb] & "*") Or Forms![QBF]![txtProb] Is Null

or something along those lines
lwells

Reply With Quote
  #3  
Old November 18th, 2004, 08:06 AM
nikkimc nikkimc is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 13 nikkimc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question

Dont think so with this syntax but i will give it a go, thanks

Nikki

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft Access Development > Query By Form (Multi)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT