Jump to content

Show Only Last Record In Report Detailpaga


Recommended Posts

Hi peterhanse,

 

You can create the lookup table with the field with 'Autonumber' DataType.
On the 'Configure Search Fields' select 'Dropdown' form element, 'Greater Than' comparison type, the 'lookup table' source, sort by Z->A for the fieldwith 'Autonumber' DataType.
 
Than to add the next code in the HTML block:
<script type="text/javascript">

function my_funct()
{
  document.getElementById("Value1_1").options[20].selected = true;
}


if(document.getElementById("caspioform")) {


  document.getElementById("caspioform").style.display = 'none';
  setTimeout('my_funct()',500);}
  
</script>

Hope it helps.

 

IREN

Link to comment
Share on other sites

Thank you Iren,

 

Looking at your option, i came to a simple solution in caspio.

 

Search and Report Wizard - Results Page Options (advanced) > Total records returned: 1

Search and Report Wizard - Results Page Options (Standaard) > Default sort order: id = z-a

Search and Report Wizard - Details Page > Always skip Results Page when only one record found: checkt

 
thank you for you input
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
Reply to this topic...

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