CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Need Help with simple SQL statement

Print topic Send  topic

Author Message
Tipu
Posted: 11/03/2002, 2:55 AM

I am using Codecharge (not studio)
I am sure its very simple for you guys. I can do it in access but not in ASP.

basically i have few fields in a table(link) i only want to see list in a grid between 1-4
there are 3 fields in grid (link_id ,link_name and Sponsor)

i tried typing it in and also copying sql statment from Access its not working
here is the statment from Access

=======
SELECT links.link_id, links.link_name, links.sponsor
FROM links
WHERE (((links.sponsor) Between "1" And "4"));
=======
Ken Hardwick
Posted: 11/03/2002, 4:31 AM

Try...

SELECT
L.link_id,
L.link_name,
L.sponsor
FROM links L
WHERE
L.sponsor Between '1' And '4'



   


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

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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