Jump to content
  • 0

Formula


Role21

Question

I'm having a problem with my formula. I want to generate an sub-ID. I am trying to create a formula wherein I put '2018' + school ID + section ID.

Here is the formula I created but not producing a correct result.

'2018'+ (SELECT school_ID FROM Profiles WHERE account_ID=[@field:account_ID])+(SELECT section_ID FROM Profiles WHERE account_ID=[@field:account_ID])

Please advise

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Hello,

 

We can also use the CONVERT function which functions exactly the same but with different syntax. In this case:

'2018' +  CONVERT(VARCHAR, [@field:School_ID]) + CONVERT(VARCHAR, [@field:Section_ID])

 

More information about function reference and Calculated Fields in these links:

https://howto.caspio.com/function-reference/

https://howto.caspio.com/datapages/reports/advanced-reporting/calculations-in-forms-and-reports/

 

Regards,

DN31337

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...