This topic is locked

ASPRunner 2.4

12/17/2003 6:02:58 AM
ASPRunnerPro General questions
author

Hi there firstly let me congratulate you guys on the yet again excellent release of asp runner!

Lots more function that many peeps have asked for so well done!
I do have 1 question though, i would like to display 5 records per page and have successfully added this to the list.asp page and all works fine, however i would like to set the default display to 5 records so that when i log in only 5 records are displayed. please can you tell me where to set the default value. I have tried in asp runner to set this but the default always comes back as 20 ? (in step 4)

Please Help

swat 12/17/2003

hi-
Under yourtable_variables.asp page very beginning of the code:
<%

strKeyField="ID"

strKeyField2=""

strKeyField3=""

strTableName="[product]"

</span> <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=828&image=1&table=forumreplies' class='bbc_emoticon' alt=':D' />

strLeftWrapper="["

strRightWrapper="]"

strOrderBy=" order by [Focus Month] asc"

bKeyFieldEditable1=False

bKeyFieldEditable2=False
Make ----> PageSize=4
<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=828&image=2&table=forumreplies' class='bbc_emoticon' alt=':D' />

admin 12/17/2003

Swat,
thanks for answering this question!

I was about to post exactly the same.
Best regards,

Sergey Kornilov

500078 12/17/2003

thank you very much