Skip to content

WHERE clause contains reference to... Call to BUFFER-FIELD #952

Open

Description

@stefandrissen

The following code snippet flags WHERE clause contains reference to... Call to BUFFER-FIELD

DEFINE TEMP-TABLE ttfoo NO-UNDO
   FIELD cc AS CHARACTER
   .

DEFINE VARIABLE hb AS HANDLE NO-UNDO.

hb = TEMP-TABLE ttfoo:DEFAULT-BUFFER-HANDLE.

FOR EACH ttfoo
   WHERE hb:BUFFER-FIELD( 'cc':u ):BUFFER-VALUE MATCHES ttfoo
:
   //
END.

When changing to hb::cc (which I cannot use since the field name is a variable) the rule is not triggered.

:get-attribute on an x-noderef is also triggering this rule.

Activity

  1. changed the title [-]FP: WHERE clause contains reference to... Call to BUFFER-FIELD[/-] [+]WHERE clause contains reference to... Call to BUFFER-FIELD[/+] on Mar 10, 2022
  2. stefandrissen commented on Nov 17, 2023

    @stefandrissen
    Author

    Same issue with hw:get-browse-column(1)

  3. stefandrissen commented on Nov 26, 2023

    @stefandrissen
    Author

    Same issue with hx:get-attribute( 'foo' )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions