Results 1 to 2 of 2
  1. #1
    owutne is offline Novice
    Windows XP Access 2000
    Join Date
    Dec 2009
    Posts
    1

    Selecting random with exclutions

    I posted this as a request to a company that provides Excel plug-ins, but I see now the task is more suitable solved in Access. So if anyone please can help me with the following:


    I have a challenge in generating a selection from witch I need to make sure that my selection are the ones that has not been participated for the longest time. Ok, I'll go in details:
    In my block we have 8 rooms, each with max 6 inhabitants. Every once in a while some of the inhabitants will move and others come to take their place. That is my selection of prospects. Now; every day one of my prospects needs to clean the corridor, but I need to make sure it is being drawn randomly and fairly where it is the longest time since last time of participation. I use columns B to AF to represent every day of month, and column A with rows 3 to 42 for unique nr for each prospect. for every day I'll mark an x for participation.



    Does your software handle this?

    Any answer will be highly appreciated!

    Best regards
    Ole Wegard Utne

  2. #2
    NassauBob's Avatar
    NassauBob is offline Not THAT Green
    Windows XP Access 2003
    Join Date
    Feb 2010
    Location
    Augusta, GA
    Posts
    61
    This is a rather cryptic request, for sure. But I want to give my two cents here:

    First, you appear to have two contradictory concepts here, in 'randomly and fairly', and 'longest time since last...'. Random is chaotic - there is no unfair in completely random. Two or even three consecutive days sweeping the P-way is random and fair, if every member has an equal chance of being selected each day. So that is something you need to consider.

    Second, your table will have a fixed number of rows and columns, of which the data will occasionally change, but only with the addition of a single value, the 'x'. I think that if there ever was a good reason to use Excel over Access, this is it. The data manipulation power of Access would be woefully wasted in this project; you will, in my opinion, find much better success in Excel with this particular task.

    I apologize for not providing a solution to your problem, but I think that to make a solid fix for this would require a lot of tedious and frustrating code-wrangling.

    Shane

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Random Rdn() Funtion Help Please
    By graviz in forum Access
    Replies: 1
    Last Post: 12-09-2009, 11:57 AM
  2. Random number generators with no repeats
    By CJ508 in forum Access
    Replies: 5
    Last Post: 10-29-2009, 07:30 AM
  3. Random numbers
    By Gator777 in forum Access
    Replies: 3
    Last Post: 08-12-2009, 10:04 AM
  4. random record
    By wasim_sono in forum Programming
    Replies: 1
    Last Post: 02-06-2008, 02:42 PM
  5. generating random numbers on form
    By anitra in forum Forms
    Replies: 1
    Last Post: 02-14-2006, 10:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums