Mobile App - How to make the list scroll automagically

ozenine
Member Posts: 19
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);
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
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions