Results 1 to 2 of 2
  1. #1
    posstrap is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Aug 2011
    Posts
    1

    Unhappy String functions

    I'm using Access 2007. Cant get LEFT to work at all, but thats possibly not necessary. I need to test a field to see if a character is in it, NOT at either end. I've tried Instr([name],len([name]-1)) to get started but no good. Also tried creating a field for the length but it turns it into a parameter ?? e.g. mdstr:len([name]-1) then use [mdstr] in Instr, if that makes sense.


    so, if [name] is Simpson I want to know that there is an S in there, and not at either end, then list all [name] that have same parameter
    (So easy in dbase) :-)

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Sounds like you may have a BOGUS MISSING reference.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 03-10-2011, 02:19 PM
  2. Functions
    By Alex Motilal in forum Programming
    Replies: 2
    Last Post: 09-27-2010, 08:06 AM
  3. sum functions
    By trippers in forum Queries
    Replies: 2
    Last Post: 08-04-2010, 07:09 PM
  4. Functions
    By jamin14 in forum Programming
    Replies: 1
    Last Post: 03-25-2010, 08:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums