|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
can anybody help me make a program in vb6 that can select customers randomly???? please help me......
![]() |
|
#2
|
|||
|
|||
|
The customers you are wanting to select, where are they stored?
In a database, text file ????? how many do you want selecting? etc |
|
#3
|
|||
|
|||
|
Post your code please so we can see what you are trying to do
|
|
#4
|
||||
|
||||
|
S Post your code
|
|
#5
|
|||
|
|||
|
An algorith for that would be to assign a number with each entry whether the names are in a db or a file
Then create a sub which generates a random number for extracting the names. The VB functions for this are: Randomize RND Code:
Int((Límite_superior - límite_inferior + 1) * Rnd + límite_inferior) Hope it helps. |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > help me |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|