This topic is locked

Multiple Buttons for save and redirect based on the button clicked

1/18/2011 4:59:02 PM
ASPRunnerPro General questions
N
nityanand.nitesh@gmail.com author

Dear Sir,
Im using ASP Runner 6.1
My Problem is that i want to have multiple buttons on the add page.

On clicking the button the record should get saved and it should get redirected to the page for which button pressed with the CLient ID and client Name automatically filled on the next table.
Please help....

by giving a sample code for the below. plzzzz plzzz plzzzz
Details
Structure of Client_Tbl
Client id

Client name

Client Details
Structure of Tour_Tbl

Tour Id

Client id

Client name

Tour Details
Structure of Ticket_Tbl

TicketId

Client id

Client name

TicketDetails
Structure of Cab_Tbl

Cab ID

Client id

Client name

Cab Details
Client_Tbl add Page will have the following three buttons.
Btn_tour-------------------------when clicked...data to be saved in Client_Tbl.... and redirect to Tbl_Tour with Client_id and name fields automatically filled in the add page of Tbl_Tour
Btn_Ticket-------------------------when clicked...data to be saved in Client_Tbl.... and redirect to Tbl_Ticket with Client_id and name fields automatically filled in the add page of Tbl_Ticket
Btn_Cab-------------------------when clicked...data to be saved in Client_Tbl.... and redirect to Tbl_Cab with Client_id and name fields automatically filled in the add page of Tbl_Cab
Plzzzzz help!

Lots of thanks in advance....

Sergey Kornilov admin 1/18/2011

We'll need to see your project in order to provide a meaningful advise. Post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.