Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6247395
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T12:51:50+00:00 2026-05-24T12:51:50+00:00

I have a block based on a table. If I enter 12345 in enter

  • 0

I have a block based on a table. If I enter “12345” in enter query mode, it creates a query with

WHERE my_field = '12345' 

If I enter “12345A”, it goes

WHERE (upper(my_field) = '12345A' AND my_field like '12%')

which is bad, because my_field is indexed normally (not on upper(my_field)). I have tried toggling “Case restriction” attribute between mixed and upper, and “Case insensitive query” between yes and no, nothing seems to help. I also have a block level PRE-QUERY trigger (trigger starts with a RETURN; statement) set on override, so nothing should mess with the formation of the query, yet it still messes up.

Any ideas on what else I could try?

EDIT:

There was an obscure function call within WHEN_NEW_FORM_INSTANCE trigger to some attached library that reset all trigger block’s items to CASE_SENSITIVE_QUERY = TRUE. Never would have guessed.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T12:51:51+00:00Added an answer on May 24, 2026 at 12:51 pm

    Not sure how the query is getting changed to that form;
    WHERE (upper(my_field) = ‘12345A’ AND my_field like ‘12%’

    First check that there are no enter query or prequery triggers in the form. Somebody might have attached a trigger at a higher level. Oracle is not that smart to rewrite the query.Check that you are tying to a table not a view or stored procedure,…

    If all else fails, enable the query triggers in the data black and rewrite the where clause yourself. It is pretty straightforward.

    Give version of oracle forms before you post.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a block of preformatted code (<pre>) which overflows horizontally so there is
I have written code that automatically creates CSS sprites based on the IMG tags
I have a user table that has many columns, it looks roughly like this:
I have a form which is like: class Address_info_updateForm(forms.Form): street = forms.CharField(label=_(Street), required=True) street2
I have a block of PHP code that looks like this: $flag = false;
I have two tables. I am trying to find rows in one table which
I want to have a setup like this: <div id=block> <div class=btn>2</div> <div class=btn>1235e</div>
I have a MyISAM table in MySQL which consists of two fields (f1 integer
I have a block of product images we received from a customer. Each product
I have a block of code that works and I wanted to ask what

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.