Project

General

Profile

Bug #2562

record updated in a side buffer is not included in query result list

Added by Stanislav Lomany about 9 years ago. Updated about 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
04/30/2015
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:

History

#1 Updated by Stanislav Lomany about 9 years ago

Testcase:

DEFINE TEMP-TABLE tt
      field f1 as integer
      index idx1 f1.
def buffer xtt for tt.      

create tt. tt.f1 = 1.
create tt. tt.f1 = 2.

def query q for xtt.
open query q preselect each xtt.

repeat:
   get next q.
   if not avail(xtt) then leave.

   message string(xtt.f1).
end.

4GL output:
1
2

P2J output:
1

Not sure if this is a regression. Works fine in P2J if there is no index idx1.

Also available in: Atom PDF