Jump to content
  • 0

Calculated Values does not return Currency of float Number


VincenzoCocciolo

Question

I'm pulling my hairs since yesterday.

In a Submission Form I'm tring to poplulate fields or virtual fields with currency or Numbers stored in other table via SQL SELECT. It always return zero!

I tried "most" combinations of SELECT CAST or using the Converter Formula but nothing!!!

If I change the SQL SELECT inserting fixed values in the WHERE fields works .

 

What did I miss?

This Works!

295272913_Schermata2021-11-01alle09_23_37.thumb.png.600f5645f913a08cca5112f842175c1f.png

This Return Zero

Schermata 2021-11-01 alle 09.01.42.png

 

 

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hello @VincenzoCocciolo,

You may try these options:

1) If the VATID field is populated by the user manually in the Submission form, please test adding the 'target' keyword

SELECT Percentuage FROM VAT WHERE VATID = target.[@field:VATID]

2) If the VATID is received as an External parameter, then the syntax is [@VATID] or the other parameter name that is used as a parameter to receive

SELECT Percentuage FROM VAT WHERE VATID = [@VATID]

Hope this helps!

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...