Regular Expressions with Access

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Breezwell Fab
    New Member
    • Oct 2010
    • 2

    Regular Expressions with Access

    Hi Everyone

    I am curious to know if there is some good literature or tutorials focusing on leveraging regular expressions in Access.

    I am interested in providing users with the ability to search free text (or records from a database table) and simply highlight keywords and various text patterns to get started.

    Thanks
  • nico5038
    Recognized Expert Specialist
    • Nov 2006
    • 3080

    #2
    It's not possible to highlight words in text fields. Only a .rtf field can be used for that.

    I would start with showing the users the right-click pop-up possibilities to filter and sort and when you're able to code in VBA you can use the me.filter property to store and/or manipulate the build filter.

    Nic;o)

    Comment

    • Breezwell Fab
      New Member
      • Oct 2010
      • 2

      #3
      Thanks for the reply.

      So, how about embedding regular expressions in my SQL? Can this be done in order to provide a higher level of search control?

      Thanks

      Comment

      • nico5038
        Recognized Expert Specialist
        • Nov 2006
        • 3080

        #4
        You can use your own user functions in the module section to enhance the query possibilities or use stringing to create a query dynamically in VBA and execute that.

        Best probably to check our articles section to get an idea of the Access possibilities.

        Nic;o)

        Comment

        Working...