Database moving buttons

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When you insert database results in FP you get 4 buttons for moving around
inside database results. Is any chanche to change these buttons, to take some
picture insted?

Thanks
 
No, I believe you would need to code it by hand to whatever you want.
However, you can actually open the file that makes those buttons you're
asking about and read the ASP code, so you can find out *how to do it*
yourself. (but it would of course be FP specific in this case).

File > Open, then browse to _fpclass/ and open the file named
"fpdbregn2.inc" (this is the file on my system anyway) _fpclass might be a
hidden folder in Frontpage, so you either need to make it visible or just
browse to it (type it in the Open > File filename field). It contains the
code for among other things the page buttons.

If you know ASP, you can modify it to make the links for the page buttons as
you wish. It remains to be see whether FP will object to you changing the
code and reset it to the original code, but it would be worth a try.
..
Or find an ASP tutorial that shows you how to display from a database and
paginate the results, like the FPDB results wizard does (but you'd be able
to customise it to the point of using images or text links etc. Maybe the
next version of FP will be more flexible, and allow you to use your own
buttons, or integrate interactive buttons into the wizards etc.

If you're a beginner, I wouldn't muck around with the code too much.
 
Back
Top