Hi Guys,
We have a list form with the a single field above it for scanning. User scans Item Nos in that field and list below is being populated. When it is being run on the computer the newest items are always on the top (list auto-scrolls to show top most item). When the same page is opened on the phone app, the list does not scroll. New items are being added on the top, but you have to manually scroll the list to see them.
Any ideas?
Thank you in advance
Here is the code to update the list:
//Key - "Scan Date"+ "Scan Time"
CLEAR(Rec);
IF GET(UserCode, LocationCode, ScanText) THEN BEGIN
"New Shelf No." := ShelfNo;
"Scan Date" := TODAY;
"Scan Time" := TIME;
MODIFY;
END ELSE BEGIN
"User ID" := UserCode;
"Location Code" := LocationCode;
"Item No." := ScanText;
"Old Shelf No." := OldShelfNo;
"New Shelf No." := ShelfNo;
"Scan Date" := TODAY;
"Scan Time" := TIME;
INSERT;
END;
Rec.SETCURRENTKEY("Scan Date","Scan Time");
Rec.ASCENDING(FALSE);
IF Rec.FINDFIRST THEN;
CurrPage.UPDATE(FALSE);
0