replace navigation buttuns with page numbers

B

Bahram

Hi
I have a ASP database results table. How can I replace
navigation buttuns with numbers?
Thanks
 
J

Jim Buyens

-----Original Message-----
Hi
Howdy.

I have a ASP database results table. How can I replace
navigation buttuns with numbers?

If you mean the |<, <, >, and >| buttons, I believe the
only way of doing this is to directly modify the code that
FrontPage generates. For example, you could change:

&lt;INPUT TYPE=Button VALUE=&quot; |&lt; &quot;&gt;
&lt;INPUT TYPE=Button VALUE=&quot; &lt; &quot;&gt;
&lt;INPUT TYPE=Button VALUE=&quot; &gt; &quot;&gt;
&lt;INPUT TYPE=Button VALUE=&quot; &gt;| &quot;&gt;

to

&lt;INPUT TYPE=Button VALUE=&quot; 12 &quot;&gt;
&lt;INPUT TYPE=Button VALUE=&quot; 34 &quot;&gt;
&lt;INPUT TYPE=Button VALUE=&quot; 56 &quot;&gt;
&lt;INPUT TYPE=Button VALUE=&quot; 78 &quot;&gt;

Of course, if you rerun the wizard, any such changes will
be lost. (I can't imagine why you'd want to do this
anyway, but oh well.)

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
|| Microsoft FrontPage Version 2002 Inside Out
|| Web Database Development Step by Step .NET Edition
|| Troubleshooting Microsoft FrontPage 2002
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
G

Guest

-----Original Message-----

If you mean the |<, <, >, and >| buttons, I believe the
only way of doing this is to directly modify the code that
FrontPage generates. For example, you could change:

<INPUT TYPE=Button VALUE=" |< ">
<INPUT TYPE=Button VALUE=" < ">
<INPUT TYPE=Button VALUE=" > ">
<INPUT TYPE=Button VALUE=" >| ">

to

<INPUT TYPE=Button VALUE=" 12 ">
<INPUT TYPE=Button VALUE=" 34 ">
<INPUT TYPE=Button VALUE=" 56 ">
<INPUT TYPE=Button VALUE=" 78 ">

Of course, if you rerun the wizard, any such changes will
be lost. (I can't imagine why you'd want to do this
anyway, but oh well.)

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
|| Microsoft FrontPage Version 2002 Inside Out
|| Web Database Development Step by Step .NET Edition
|| Troubleshooting Microsoft FrontPage 2002
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------

.
Thanks for the response.
But I was told that I should modify my global.asa file.
Can you help me with that?
And why I want to this is because my DB results are shown
in 50 pages and if my customer wants to see the 25th
page, then he has to hit "NEXT PAGE" button 25 times to
get there.
Thanks again.
 
J

Jim Buyens

-----Original Message-----
Thanks for the response.
But I was told that I should modify my global.asa file.
Can you help me with that?
And why I want to this is because my DB results are shown
in 50 pages and if my customer wants to see the 25th
page, then he has to hit "NEXT PAGE" button 25 times to
get there.
Thanks again.

OK, now I understand what you mean.

Unfortuantely, the Database Results Wizard can't do that. To get what
you want, you'd have to code a custom ASP or ASP.NET page.

A better alternative might be to improve the selection criteria, so
that not so many pages of results come back. In otherwords, let the
computer, and not your customer's eyeball, do the searching.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
|| Microsoft FrontPage Version 2002 Inside Out
|| Web Database Development Step by Step .NET Edition
|| Troubleshooting Microsoft FrontPage 2002
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top