Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Joop Stringer
676
Views
10
Comments
Randomizer
Question
Is there anybody who created a randomizer ?
Using an input for range like 0-100 generating a number between 0 and 100 or 0-10 ...
Gonçalo Gaiolas
Would it be terribly ugly to use SQL Server to accomplish this?
SELECT CAST(RAND() * 100 AS INT) AS RandomNumber
I suppose wrapping it in a function would abstract it away nicely.
Justin James
Â
MVP
I'd use an extension first. It's one line of C# and probably one line of Java. :)
J.Ja
2 replies
Last reply 25 Jan 2013
Show thread
Hide thread
J.
Â
MVP
Justin James wrote
:
I'd use an extension first. It's one line of C# and probably one line of Java. :)
J.Ja
this.
Joop Stringer
Statler & Waldorf wrote
:
Justin James wrote
:
I'd use an extension first. It's one line of C# and probably one line of Java. :)
J.Ja
this.
What "
this
" ???
Gonçalo Gaiolas
Joop Stringer wrote
:
Is there anybody who created a randomizer ?
Using an input for range like 0-100 generating a number between 0 and 100 or 0-10 ...
Ok, Ok extension it is!
Find it attach :)
Random.xif
1 reply
25 Jan 2013
Show thread
Hide thread
Joop Stringer
wrote
:
Joop Stringer wrote
:
Is there anybody who created a randomizer ?
Using an input for range like 0-100 generating a number between 0 and 100 or 0-10 ...
Ok, Ok extension it is!
Find it attach :)
You're my hero :-)
And even the GUID function in there !!
Gonçalo Gaiolas
Glad to be of service :)
1 reply
25 Jan 2013
Show thread
Hide thread
Gonçalo Martins
Staff
Gonçalo Gaiolas wrote
:
Glad to be of service :)
Hi Gonçalo,
In my opinion you could add this method to the solution called "
Essentials
", where you're a team member..
"
..collection of reusable actions to help us stop reinventing the wheel
" <<
CHECKED
:)
Cheers,
Gonçalo Martins
Gonçalo Gaiolas
Gonçalo,
You got it. Makes perfect sense. I'll do it this week.
BTW, I'm sure being a pretty active member you must have a ton of interesting stuff to post to the Essentials crowd. Why not join us? :)
Best,
Gaiolas
1 reply
27 Jan 2013
Show thread
Hide thread
Gonçalo Martins
Staff
Gonçalo Gaiolas wrote
:
Gonçalo,
You got it. Makes perfect sense. I'll do it this week.
BTW, I'm sure being a pretty active member you must have a ton of interesting stuff to post to the Essentials crowd. Why not join us? :)
Best,
Gaiolas
Hi Gonçalo,
I'll accept your invite..
I just have to allocate some time to look at my old treasure chest and find the material that best suit this concept ..
Hope to give some news very soon.
Cheers,
Gonçalo Martins
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
 Loading...