Jump to content
Jambands.ca

Groove Fetish

Members
  • Posts

    1,374
  • Joined

  • Last visited

Posts posted by Groove Fetish

  1. here is the whoel statement:

    SELECT ['C].[Award Date], ['C].[End Date], ['C].[PI- LastName], ['C].[PI- FirstName], ['C].[Grant Agency], ['C].[Grant Title], ['C].[$ Amount]

    FROM ['C]

    WHERE (((['C].[Award Date])<='2007') AND ((['C].[End Date])>='2007')) AND (['C][PI-lastname] = 'baptiste' or [PI-lastname] = 'macdermid')

  2. so what happened when I switched to that was that it asked me for start dates parameters and end date parameters and last name parameters. but I thought those parameters were already in the string so shoudln't it have know that I wanted all dates >2007 and all dates ,2007 and macdermid and baptiste??? when I put in the parameters it actually retruned all the records in the database. so that one doesn't seem to work.

    all this help is appreciated.

  3. so statement looks like this now:

    WHERE (((['C].[Award Date])<='2007') AND ((['C].[End Date])>='2007')) AND (['C][PI-lastname] = 'baptiste' or [PI-lastname] = 'macdermid')

    but its still saying syntax error.

    I do not know how to remove the spaces from the field names?? just go into design view and delete them?

  4. hi all...I tend not to post too often but I'm having troubles learning access and want to see if anyone can help me out.

    I am trying to get a query to return some data and I can seem to get it to do what I want. I have a last name field and I want the datasbe to return to me any records that have certain names in them. But it is not just an equals to statement it should be a equals to or equals to or equals to....know what I mean??

    so example. I have a record that says macdermid and a record that says baptiste and a record that says bosch. I want the baptiste records and macdermid records but not the bosch records. how does that statement look like.

    this might be a really rudimentary question but I'm trying to teach myself access and its an uphill battle so far.

    Thanks in advance for any help.

  5. cool eric- I didn't know you were going...we are too! We are going to be Luke and Leia and Zack (although he will be at grandmas and grandpas) will be Yoda!

    What are some of your costumes?????

×
×
  • Create New...