Hi DAW,
Can we please have "Item_Find" as a Public and documented procedure ?
It is tremendously useful and we tend/have used it a lot over the years for custom finds and a way to populate the buffer before the actual find.
Having a train new developers on how to use this technic is hard especially when it's "not documented" and it's denoted as a "Private" procedure.
A classic example on how it can be used is as follows:
Using the "Order Entry" workspace in DF19, copy in the attached OrderDtlList.vw
- Add "OrderDtlList.vw" to Order.src, compile & run
- Load the OrderDtlList view
- Click on row #3 (Order 138)
- Now type "543" to search and press Enter ( order# 543 is few rows below )
- Notice the Grid/List jumps to order# 572 instead - due the multi-segment index issue.
To Fix this:
- Uncomment the "Item_Find" procedure within the oOrderDetail_DD in the view
- Compile & Re-test
- Notice that now, the grid jumps correctly to order# 543
This is just one of many ways Item_Find can be used.
We would appreciate if it was made a public procedure.
Thanks.