Results 1 to 10 of 10

Thread: Diacritic insensitive search on cWebSuggestionForm

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2019
    Location
    Cantabria, Spain
    Posts
    252

    Default Diacritic insensitive search on cWebSuggestionForm

    Hello, I'm making some quality of life improvements on a web application. This is one of those things I would like to improve as it has been requested by some users. We are using cWebSuggestion forms to let users find a record quickly without navigation keys or lookups. However, by default, the cWebSuggestionForm control doesn't have a pbDiacriticInsensitive or similar property. That means, when looking for a record with a special diacritic character (like á, é, í, ó, ä, ë, ñ, ê, è,...), the exact character must be typed. That annoys users as they don't get the "full result set". I have made a custom implementation on the cWebSuggestionForm subclass so that applications with SQL databases ignore that. It does work, but it is not perfect (it won't highlight with bold font the matching characters and that kind of stuff). I need to implement it for incremental searches and DataFlex embbeded databases too. It isn't hard but it is time consuming.
    As this is something fairly common, I was wondering whether it is addressed in DF20 or perhaps somebody has already implemented it.
    Last edited by Alberto Gutiérrez Arroyo; 9-Nov-2020 at 11:12 AM. Reason: some typos
    Alberto Gutiérrez Arroyo
    A.T. Medtra, S.L.
    atmedtra.es

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •