Retrieval of Specific Text from Data Table Field

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • blhuff
    New Member
    • Oct 2006
    • 2

    Retrieval of Specific Text from Data Table Field

    I would like to know if there is some code and/or function that will give me a way of retrieving a certain text string from a data table that I have established in MS Access. The text in question is isolated by return carriages. I look at the Left/Right/Trim Functions; howver, neither of these could singularly accomplish what I need to do. Can someone help?
  • PEB
    Recognized Expert Top Contributor
    • Aug 2006
    • 1418

    #2
    Yeah

    The mentionned functions exist in Access

    Left("Your String",2)
    Right("Your String",2)
    Mid("Your String",1,2)

    But to retrieve data use the function:

    Dlookup("YourFi eld", "Your Table", "Your Criteria")

    :)

    Comment

    • blhuff
      New Member
      • Oct 2006
      • 2

      #3
      Thanks for the suggestion. I found what I was looking for by using the InStr() Funtion. Thanks again for your help

      Comment

      Working...