Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best approach
Message
From
04/05/2014 01:37:16
 
 
To
04/05/2014 00:35:07
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01599505
Message ID:
01599510
Views:
74
OK, I wrote this article back in 2007. From an ASP.NET standpoint it's a bit dated, and if I were to write it from scratch today I could optimize a few things - but the concepts are still valid.

http://www.codemag.com/Article/0703041

If you take a look at Figures 1 through 3 on the page, hopefully you can see the intended example - one that pages result sets. It uses the ROW_NUMBER capability that was added in SQL 2005, along with a page number and offset functionality to grab X number of rows at a time, based on the current "page" and sort order.

In SQL 2012 they actually added a new OFFSET/FETCH feature into the language, to support paging more directly. But it was still possible in SQL 2005.

So take a look at the example - I think you might be able to lift a few features from it. Let me know if I can be of any help.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform