• 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.

Issues When Filter is Left Blank

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

  • Issues When Filter is Left Blank

    Hello, I have an issue where using the built-in filters toolbar for a grid with active paging, leaving the filter field empty and then pressing Apply can end up searching using the previously non-blank applied filter value. If you set up a filter program (the one that includes QCpyleSrc,vvNabFlt) and use GetFilterValue it will return the last applied value that was not blank rather than the expected blank. The filter can look like it worked fine at first, but if you click the refresh or next page button of the grid, it will then filter as if the value was not blank.

    Tested with version 6.3.20250923.0

    Data Source:

    Code:
    SELECT
      spooled_file_name,
      job_user,
      spooled_file_number,
      status,
      creation_timestamp,
      size,
      total_pages,
      qualified_job_name,
      form_type,
      output_queue_library,
      output_queue
    FROM
      TABLE(
        qsys2.spooled_file_info(
          user_name => ifnull(
            nullif(vvin_virtual('fUser', '*ALL', 'char', 10), ''),
            '*ALL'
          )
        )
      )
    WHERE
      (status <> 'DELETED')?



    image.png?image.png?

  • #2
    Thanks for the information. This will be fixed in the next 6.3 update.

    Comment

    Working...
    X