Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Hi

I have a table named "Information"

I have another table named "Quote"

I would like to bring in a random quote from the other table (Quote) into a field called "today" in the table "INformation"

I am always adding to the quotes so the number of records changes.

I would like to make a script to do this.

The problem is how to get this random from an unrelated table into the original table.

Just trying to find the best way to do this.

Thanks

dave

Posted

Hi

it remembers me something...

http://fmforums.com/forum/showtopic.php?tid/192539/post/278075/#278075

BTW:

Go to Layout ["Quote"(Quote)]

Set Variable [ $quote; Value:GetNthRecord ( Quote::quote ; Ceiling ( Random* Get ( TotalRecordCount ) ) )]

Go to Layout [original layout]

Set Field [ Information::today; $quote]

Commit Records/Requests[]

Posted

it remembers me something...

http://fmforums.com/forum/showtopic.php?tid/192539/post/278075/#278075

And also:

http://fmforums.com/forum/showtopic.php?tid/192607/

http://fmforums.com/forum/showtopic.php?tid/192149/

http://fmforums.com/forum/showtopic.php?tid/191993/

http://fmforums.com/forum/showtopic.php?tid/189073/

This topic is 6213 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.