CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Grid and specific query

Print topic Send  topic

Author Message
steveadams617

Posts: 7
Posted: 03/06/2007, 2:55 PM

I have 4 grids on a page. Three of them work fine. I've tried creating the 4th grid both with the grid builder and with the grid control.

If I create a view in SQLServer 2000 and run the grid against it, the navigation on the grad works fine. If I replace the view with the IDENTICAL SQL as the grid's data source, the navigation links stop working and whatever I set as the Records Per Page, becomes the total number of records for the grid. When I say navigation stops working, I mean the buttons just don't do anything because they think all the records are displayed.

I've tried pulling everything out into a fresh sample application with the same results. Below is the SQL statement. Thanks for your help.


SELECT MIN(ProgressNotes.NoteDate) AS OldestNote, [LastName] + ', ' + [FirstName] AS Client, ProgressNotes.AllEbacID
FROM ProgressNotes INNER JOIN
tblAllEBAC ON ProgressNotes.AllEbacID = tblAllEBAC.AllEbacID
WHERE (ProgressNotes.PrintGroup_ID IS NULL) AND (ProgressNotes.StaffID = '{6874D336-6B07-4FF0-A0AF-49F04C51D8D0}')
GROUP BY LastName + ', ' + FirstName, ProgressNotes.AllEbacID
ORDER BY MIN(ProgressNotes.NoteDate);
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.