>I have some jpeg files in my image subdirectory of the main directory where I am storing all my application data, for example, p:\fcast\images
>
>1.Upon loading of the splash screen, how can scan the directory and capture all the file names of the jpegs, and store them in a temporary table on the users hard drive?
>
>2. Then I would like to randomly select a record and capture the Jpeg file name selected.
>
>3. Next, I want the picture to appear in the picture facemask on the form. So basically every time someone pulls up the application, the first screen displays a different pic
You might think of adding a numeric field that holds "sequences" of the images. Then you might use the rnd ()function. It will give you a random number between 0 and 1. Assuming you have say 50 images, and that you stored 1..50 in the field I suggested, then you would load the image with sequence 1+int(50*rnd())
Hope this helps.
Kind regards,
Marc
If things have the tendency to go your way, do not worry. It won't last. Jules Renard.