Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 21st, 2004, 04:25 PM
Authorized User
 
Join Date: May 2004
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Random list 2 grups

Hi.

If I have question

If I have a DB:
GR_Name_List.mdb
name_list
GID = AUTO/KEY
NAME = TEXT

can I make a script that if I klik on a button then it will make 2 random grups with the names ind the DB

Names ind DB
Name 1
Name 2
Name 3
Name 4
Name 5
Name 6
Name 7

Random grups after click on the button:
Grup 1
Name 2
Name 3
Name 5
Name 7

Grup 2
Name 1
Name 4
Name 6

Hope U understand me !!

 
Old May 21st, 2004, 11:19 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Bangalore, KA, India.
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

want2learn?

Did you ever thought, that is going to be so easy? I didnot. But found this out for you.

http://www.4guysfromrolla.com/webtech/110800-1.3.shtmlDisplaying a Recordset in Random Order

Only thing for which you got to squeeze your brain would be to split that in to 2 groups. That should be the toughest task for you in this.;)

Cheers!

-Vijay G
 
Old May 22nd, 2004, 05:26 AM
Authorized User
 
Join Date: May 2004
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi. Happygv

Thanks man nice site and again thanks ;)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Random recordset kumiko SQL Server 2005 3 March 8th, 2008 12:03 PM
fill dropdown list with items when parent list isaac_cm Pro PHP 1 July 10th, 2006 05:41 AM
List tablesname from database & list databasename ittorget MySQL 3 September 10th, 2005 03:06 AM
Random Numbers not so random... katsarosj ASP.NET 1.0 and 1.1 Basics 5 November 20th, 2003 12:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.