Home | Advertising Info80 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, March 14, 2025  
 
 


 
ASPProtect
User Management Application with web based screens that allow you to manage users.
www.ASPProtect.com
 
ASPBanner
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
www.ASPBanner.com
 
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
www.ASPPhotoGallery.com
 
ASPClassifieds
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.
www.ASPClassifieds.com



DISCUSSION ARCHIVES
 



We didn't realize
the site was so popular.

Other Stuff
 

 
 
Active Server Pages ASP ASP.NET .aspx .ascx Web HTML Developer Internet Microsoft Web Services Visual Studio .NET CJWSoft ASPProtect ASPBanner ASPClassifieds



(Advanced)  (Components)  (Database)  (General)  (Vbscript)




ASPProtect

 
Subject: Limit Class Enrollment to 20
From: Scott Ott
Date: 3/15/2000 12:31:17 PM
IP: 24.94.163.192



 

Im making a web form to enroll folks in 50 sections of a single course. The
database table has a field called Section. The user will input the section number along with his name.

The Challenge: I want the user to get rejected if there are already 20 people in the class. So, the ASP needs to count the number of times the
user-submitted variable Section occurs in the Section field, and return
a rejection message if that number is greater than 20.

Background: I know I can do this inelegantly if I just create a table for each section and set the validation rule to kick in at [ID]>20 where ID is
an autonumber field. But Id rather do this with one table, not 50.

A Twist: I do most of my stuff in FrontPage 2000, and it doesnt like me messing with the ASP coding. So, Im guessing Ill have to code the whole thing from scratch...and Im none too bright when it comes to that.

Copy your response to my e-mail address if possible.

Thanks,
Scott Ott
scott.ott@twcable.com


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2025 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages asp search engine active server page asp application components tutorial CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com