Jump to content
  • 0
Sign in to follow this  
pilotexpressions

Recording "record Count" Into Data Table?

Question

Hi all,

 

I am using a list report datapage to display an individual customer's purchase history. How may I record the "record count" number from this list report datapage into one of my data tables so I may keep track of the number of purchases a customer has made and use this number in other datapages?

 

Thanks!

 

Logan

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Maybe I'm looking at this all wrong. I think instead trying to get the record number from a reports page, I should record it when a customer submits a new form. In other words, I want to keep record of the number of times a customer submits a certain form I have created.

 

I just found this page and it is looks to be similar to what I want it to do. http://howto.caspio.com/tech-tips-and-articles/advanced-customizations/how-to-limit-the-number-of-submissions/. More specifically, I want it to record the submission.

 

I tried only using the "ATTENDEES TABLE (RECORDS THE SUBMISSION)" element to this tutorial, but am still having problems. 

 

I am using this script from the page, replacing "attendees" with my own field name, "Serial_Numbers":

Header:

<div style="display:none">

Footer:

</div>
<script>
document.getElementById('EditRecordSerial_Numbers').value = parseInt(document.getElementById('EditRecordSerial_Numbers').value) + 1;
document.getElementById('caspioform').submit();
</script>

I still can't get it to work, though. Any suggestions using this?

 

Thanks,

 

Logan

Share this post


Link to post
Share on other sites
  • 0

If you need to count the number of forms a customer submits, then add the customID as a field in the submission, then report on submissions by customerID, and group by customerID, and aggregate customerID with COUNT.

 

If you need to count all submissions, then see previous suggestion.

Share this post


Link to post
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...
Sign in to follow this  

×
×
  • Create New...