JulienMoulis Posted July 20, 2016 Report Share Posted July 20, 2016 Hi, I want to create a ticketing system like caspio support. I have two table T_Ticket: --> ID_TICKET --> Ticket Subject --> Ticket Commentary and T_Detail_Ticket --> ID_DETAIL_TICKET --> ID_TICKET (Foreign key) --> Commentary_DETAIL_TICKET What I need is, when a ticket is created, create with an SQL insert the first detail_ticket commentary with the commentary_ticket Is that possible? Quote Link to comment Share on other sites More sharing options...
0 Mathilda Posted July 20, 2016 Report Share Posted July 20, 2016 Hi, Please watch this tutorial. It describes how to build ticketing system. Hope it helps Quote Link to comment Share on other sites More sharing options...
0 JolliBeng Posted October 31, 2018 Report Share Posted October 31, 2018 Hi JulienMoulis, You can use triggered actions and add "Insert Into" actions. -JolliBeng Quote Link to comment Share on other sites More sharing options...
0 MayMusic Posted November 2, 2018 Report Share Posted November 2, 2018 You can create a triggered action on your parent table to add the row to child table on Insert. So you need to select Action = Insert and then click on the gear next to insert to select from from #inseted which is the newly added data : http://joxi.ru/L21KwNau81Db9r Quote Link to comment Share on other sites More sharing options...
Question
JulienMoulis
Hi,
I want to create a ticketing system like caspio support.
I have two table
T_Ticket:
--> ID_TICKET
--> Ticket Subject
--> Ticket Commentary
and
T_Detail_Ticket
--> ID_DETAIL_TICKET
--> ID_TICKET (Foreign key)
--> Commentary_DETAIL_TICKET
What I need is, when a ticket is created, create with an SQL insert the first detail_ticket commentary with the commentary_ticket
Is that possible?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.