Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8171 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Here is a simple problem I'm sure, I'm just a litle dense today crazy.gif .

I have a file with 200+ records. I want to be able to pull up a random record from that file and display it. For example "FlashCards" for training purposes. Basically I wnat to integrate a button with the function of get_next_record_RANDOM.

Any input is, as always, appreciated.

Thanks,

Rob

Posted

To select a random record create a global number field gRandomRecord and a script:

Find All

SetField(gRandomRecord, Int(Random * Status(CurrentRecordCount)))

Go to Record (field value, gRandomRecord)

-bd

This topic is 8171 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.