• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Single Quote Causes Filter Issues

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Single Quote Causes Filter Issues

    image.png?Filtering on an app variable that has a single quote in it ends up internally adding too many single quotes to escape it and so does not find what it should. The test app I used has an app var already initialized to a value with a single quote in it and uses the app var on startup to filter the form.

    Test Table:

    Code:
    create table calexander/TstInvc
    (
      myInvc char(24) Not Null,
      myDesc char(100) Not Null
    );
    
    insert into calexander/TstInvc
    values( 'Cal''s Test Invoice', 'This is an invoice that is a test');
    Test Data Source:
    Code:
    SELECT
      myinvc,
      mydesc,
      rrn(TSTINVC) AS rrn1
    FROM
      tstinvc?
    ?


    Tested on Valence Framework 6.3.20251117.0 and Valence Framework 6.3.20260622.0 and both have the issue.

    image.png?image.png?image.png?image.png?

  • #2
    Thanks for the information, and this will be fixed in the next update.

    Comment

    Working...
    X