kleinmannetje
|
| Posted: 09/16/2002, 10:00 AM |
|
Hello there
I am making a site with CC, ASP and Access. It's an online bookstore and I have a little problem with it. People can order books and when they have entered their data they get an overview where they can chech their data. They also can cancel the order. The thing I want is when they click submit they go to the thank you page and when they click cancel they go to an other page. Is there a possibility to do this??
Thanks
Kleinmannetje
|
|
|
 |
Nicole
|
| Posted: 09/17/2002, 5:19 AM |
|
Hello,
you should assign different return pages for the different buttons on the form. Select the buttons one by one, switch to their properties and select the appropriate Return Pages for them.
|
|
|
 |
kleinmannetje
|
| Posted: 09/17/2002, 10:34 AM |
|
Thanks for your answer Nicole.
I have tried to find the properties for the buttons but I couldn'tfind them. I think your answer is for CCS, but I am using CC. Maybe you know A solution for that??
I am just a newbie so I am sorry for this, hope you can help.
Thanks
Kleinmannetje
|
|
|
 |
tom
|
| Posted: 11/05/2002, 1:05 PM |
|
I have the same problem as Kleinmannetje. Using cc2, asp/msaccess. Hope that somebody can help us.
|
|
|
 |
raincrow
|
| Posted: 11/05/2002, 3:14 PM |
|
You'll want to add code to the "Before Cancel" and "After Insert" and "Before Update" events for the form that sets the value of sActionFileName (in ASP) to the URL of the page you'd like to redirect the user to for each action.
Or modify the generated code for the "Custom Action" event for that form that does the same thing. For "Custom Action," make sure you click "Obtain Generated Code" first and read through it carefully.
A good way to learn how the events work in CC is to put in simple comments for each of the events (for example: ; this is a before cancel comment ) and then go to the Custom Action or Custom Show events, click "Obtain Generated Code" and see the context in which the event code is inserted.
|
|
|
 |
|