I have a little idea but i can't make it work, is something like this:
CASE WHEN EXISTS(SELECT name FROM myTable WHERE name = target.[@field:name]) THEN 1 ELSE 0 END
My problem i get the "Not records found" of Caspio instead of 0 and i don't know where i'm mistaking. In the future I pretend to count how much tickets a client have and show it, if that client never create a ticket is not going to be in myTicketsTable yet for obvious reasons
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.
Question
HappyAlligator
Hello Caspio community!
I have a little idea but i can't make it work, is something like this:
CASE
WHEN EXISTS(SELECT name FROM myTable WHERE name = target.[@field:name]) THEN 1
ELSE 0
END
My problem i get the "Not records found" of Caspio instead of 0 and i don't know where i'm mistaking. In the future I pretend to count how much tickets a client have and show it, if that client never create a ticket is not going to be in myTicketsTable yet for obvious reasons
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
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.