# How to display the last 10 tickets in Ticket Lister Widget

**URL:** <https://forum.sambapos.com/t/how-to-display-the-last-10-tickets-in-ticket-lister-widget/10448>\
**Category:** Version 4\
**Created:** [April 21, 2016, 12:11pm UTC](https://forum.sambapos.com/t/how-to-display-the-last-10-tickets-in-ticket-lister-widget/10448 "2016-04-21T12:11:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![biggarys](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/b/5f8ce5/32.png) [@biggarys](https://forum.sambapos.com/u/biggarys)\
**Post date:** [April 21, 2016, 12:11pm UTC](https://forum.sambapos.com/t/how-to-display-the-last-10-tickets-in-ticket-lister-widget/10448/1 "2016-04-21T12:11:33Z")

</div>

Hi all,

I trying to list the last 10 tickets in a ticker lister widget, I have tried using expression and filter such as

Is there way to get the last TICKET ID or TICKET NO?

Also I’m not able to do a numeric comparison in the filter field such [=TN(‘GetTagValue(“ORDER”)’)] == 46

GetTagValue(“ORDER”) == “46” worked fine but could not achieve what I want.

Have also tried using GetTagNumericValue(“”) \> # and using {TICKET NO} with TN function in the filter field but again without success.

> [@4.1.30 Released](https://forum.sambapos.com/t/4-1-30-released/953):
>
> IMPORTANT CHANGE SambaPOS will install SQL Server LocalDB by default when there is no database engine selected. LocalDB is 33 mb single user database and it is easily upgradeable to SQL Server Express. If you need to install SQL Server CE (2MB) engine you can enable it on Install Wizard \> Select Components screen. In this case you need to uncheck SQL Server LocalDB option. If you already installed SQL Server CE on previous versions SambaPOS automatically disable LocalDB selection to prevent …
