Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Random record selection
Message
From
06/07/2023 17:07:31
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Random record selection
Miscellaneous
Thread ID:
01686799
Message ID:
01686799
Views:
98
I have a table that contains file names for images. I am looking for a way or code that would randomly select the record in the table and from that I would capture the file name and display that particular record.

MyImages.dbf
image_id (num) primary key
image_path (memo)

Image_path: contains where the image is located. for example: F:\devserver\app\myimage27.jpg

Is there a way to scan and randomly select a record, capture the image_path and then display that image on a form.

I am using vfp 9.0

thanks in advance
Thanks in Advance.

J. Turner
Next
Reply
Map
View

Click here to load this message in the networking platform