Total Records View in Custom View

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
User avatar
ashekgo
Posts: 1
Joined: 2015-10-03 14:28
Location: Chittagong, Bangladesh
Contact:

Total Records View in Custom View

Post by ashekgo » 2015-10-19 15:40

In Northwind Inventory apps we have Customers Table View Form. In Table View, in table footer it displays something like "Records 1 of 91"

Now I want to display the total customer number like "91" in my custom page. I Know how to make custom page but I don't know how to display total customers number.

Can anyone help me in this advance topics?
Regards,

Ashek Rahman Anik
University of Chittagong

User avatar
a.gneady
Site Admin
Posts: 1354
Joined: 2012-09-27 14:46
Contact:

Re: Total Records View in Custom View

Post by a.gneady » 2015-10-28 17:55

You could use something like this code:

Code: Select all

echo sqlValue("select count(1) from customers");
I'm assuming that you are using a custom page as explained in https://bigprof.com/appgini/help/advanc ... cess-pages
:idea: AppGini plugins to add more power to your apps:

Post Reply