Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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 !!

Reply With Quote
  #2 (permalink)  
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
Reply With Quote
  #3 (permalink)  
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 ;)

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 01:12 PM.


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