This topic is locked

Hide Ajax 'Details Found: 0'

6/8/2008 11:58:29 AM
ASPRunnerPro General questions
M
mardisr author

Does anyone know how "not" to display "Details Found: 0" when there are no records in the linked table. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=8732&image=1&table=forumtopics' class='bbc_emoticon' alt=':ph34r:' />

J
Jane 6/18/2008

Robert,
here are some tips:

  1. edit your detail link in HTML mode on teh Visual Editor tab:
    <A class=tablelinks id=master_DetailTableName{$row.1recno} href="DetailTableName_list.php?{$row.1DetailTableName_masterkeys}" {if $useAJAX} {if $row.detailsfound} onmouseover="RollDetailsLink.showPopup(this,'DetailTableName_detailspreview.php'+this.href.substr(this.href.indexOf('?')));" onmouseout="RollDetailsLink.hidePopup();" {/if}{/if}>DetailTableName</A>


Then count number of detail records in the List page: After record processed event and assign correct value:

row("detailsfound") = True