Skip to main content
Question

Is It Possible to write while or for loop in formula field?

  • May 16, 2018
  • 0 replies
  • 463 views

Is It Possible to write while or for loop in formula field?

 If possible ple explain with example.

Thanks
This topic has been closed for replies.

No, at least not with native Quick Base. It is more like Excel in that regard where there are formulas in fields

However, if you know JavaScript, then you can write code pages which can have programs.

  • Author
  • Registered
  • May 21, 2018
Thanks , 
I know JavaScript,How to call this code pages? 

  • Registered
  • May 22, 2018
You can't write a loop in the formula language. While you can write all sorts of loops and recursive procedures in JavaScript I have to ask what are you trying to accomplish?

  • Registered
  • May 26, 2018
>Is it Possible to call JavaScript With out using  IOL technique?

All other techniques are largely just going to be variants of the IOL technique. Why not just use the accepted method which is adequately documented and for which there are 100s of public solutions available in the Pastie Database? I somehow sense that you are reluctant to try the IOL technique - just take the plunge and you will be pleased with the result.

How do I loop to lookup the next record that exists with one lower number of the record I am currently on.

I have a key field call ID but sometimes it can skip a number since the table is being imported from a SQL server. 

I want to lookup the last call ID before the current one and it should subtract 1 until it finds a record with that Call ID.