MG please help again

Results 1 to 2 of 2

Thread: MG please help again

  1. #1
    moti Guest

    Default MG please help again

    Dear Mg ,<BR>thanks a lot again but istill have some problems .<BR><BR>even with that article you gave me<BR>1-How can i get a few random numbers ?<BR>2-How can i MAke that this numbers should not be doubled the same ?<BR>Please help me a little more ,<BR>You can see my source again in my previous message to you .<BR>Regards <BR>Tomi

  2. #2
    MG Guest

    Default RE: MG please help again

    You can run the random part twice and assign to a different variable each time. then check to see if the random # generated the next time is the same as the first one, if yes then rerun the random and repeat. <BR><BR>Then run an SQL statement like this<BR>strSQL = "SELECT * FROM YOURTABLE WHERE ID = " & rndnbr1 & " OR ID = " randnbr2<BR><BR>That will return 2 rows.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts