peterhanse Posted December 9, 2015 Report Share Posted December 9, 2015 Goodmorning, I now there is must be a topic about it , but i can't find it. I need to show the last record in a report detailpage, how can i do that. Quote Link to comment Share on other sites More sharing options...
iren Posted December 9, 2015 Report Share Posted December 9, 2015 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 Quote Link to comment Share on other sites More sharing options...
peterhanse Posted December 9, 2015 Author Report Share Posted December 9, 2015 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 iren and Aurora 2 Quote Link to comment Share on other sites More sharing options...
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.