Skip to main content
Question

Random Pin Generator

  • May 31, 2023
  • 0 replies
  • 318 views

I am trying to figure out a way if its possible to make a field that will generate a random four digit pin number. Is this possible in QB? 



------------------------------
William Hunter
------------------------------
This topic has been closed for replies.

MarkShnierYou
Forum|alt.badge.img+24

One way is to have a pipeline

{{ range(1, 2000) | random}}

The other way is to try this 

ToNumber(Right(ToText(Int([Record ID#]*9973/127)),4))



------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------