Perzival Posted March 29, 2019 Report Share Posted March 29, 2019 I have a DataPage which passes parameter to a new DataPage. Then the parameter will filter all the records that has the same value. Now, I wanted to have a total of those listed in that list. I was told to use an SQL. I tried this: SELECT COUNT(Item_ID) FROM ORDER_table But it is returning me the whole count of my Item_ID Any ideas? Quote Link to comment Share on other sites More sharing options...
0 Harbinger Posted March 29, 2019 Report Share Posted March 29, 2019 I have implemented similar use case from the past. I got mine sorted out by using .target=[@filed]. You can try and see if that will work for you. Say: SELECT COUNT(Item_ID) FROM ORDER_table = target.[@field:Item_ID] Let me know if this helps. Quote Link to comment Share on other sites More sharing options...
0 Perzival Posted March 29, 2019 Author Report Share Posted March 29, 2019 It worked! I thought it would be more complex.. Thanks. Quote Link to comment Share on other sites More sharing options...
Question
Perzival
I have a DataPage which passes parameter to a new DataPage. Then the parameter will filter all the records that has the same value.
Now, I wanted to have a total of those listed in that list.
I was told to use an SQL. I tried this: SELECT COUNT(Item_ID) FROM ORDER_table
But it is returning me the whole count of my Item_ID
Any ideas?
Link to comment
Share on other sites
2 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.