Kumar
|
Posted: 02/07/2002, 5:30 PM |
|
I would like to add command buttons for going to the Next and Previous Record in a Record Form (as well as First and Last). How can this be done ? Any help would be appreciated
Thanks
|
|
|
Andrew B
|
Posted: 02/07/2002, 6:58 PM |
|
Try doing something like this :
change the name of the next button to : {MyNextButton}
in the form's BeforeShow event, place code similar to this
SetVar "MyNextButton", "<img src=""images/next.gif"" border=""0"">"
Setting the button text to that makes it replaceable by the standard CC method (which happens automatically), since the next/previous label is just inserted direclty into the html. Remember, when you use "SetVar" that the variable name is case sensitive.
I don't know if this will work with the no-templates version, and the code is also ASP. PHP should be similar, and a quick look at the code CC generates will tell you how to use SetVar
|
|
|
MadMax
|
Posted: 08/30/2003, 3:17 PM |
|
Tks. will do
|
|
|
|