![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi to All, I have created a Form with 3 Blocks: 1) MASTERBLOCK, Table1, PK MASTER_CODE 2) DETAILBLOCK, Table2, KEY = DETAIL_CODE 3) TOOLBAR with button SAVE, ADD, DELETE etc... All Work fine! I can Add, Modify, Save all in the Master and in Detail Block. I have solved. In relations I have set to cascading the property. |
|
But If I try to Delete a Master Record, this message is displayed: CANNOT DELETE THE MASTER RECORD IF THERE ARE CORRESPONDING DETAIL RECORDS (NB. I have translated the message from italian language) In the trigger WHEN-BUTTON-PRESSED of DELETE Button I have entered: Delete_Record ; Please can anyone help me in order to delete the master and the detail records? Thank You and Best Regards Gaetano |
#3
| |||
| |||
|
|
Hi to All, I have created a Form with 3 Blocks: 1) MASTERBLOCK, Table1, PK MASTER_CODE 2) DETAILBLOCK, Table2, KEY = DETAIL_CODE 3) TOOLBAR with button SAVE, ADD, DELETE etc... All Work fine! I can Add, Modify, Save all in the Master and in Detail Block. I have solved. In relations I have set to cascading the property. |
|
But If I try to Delete a Master Record, this message is displayed: CANNOT DELETE THE MASTER RECORD IF THERE ARE CORRESPONDING DETAIL RECORDS (NB. I have translated the message from italian language) In the trigger WHEN-BUTTON-PRESSED of DELETE Button I have entered: Delete_Record ; Please can anyone help me in order to delete the master and the detail records? Thank You and Best Regards Gaetano |
#4
| |||
| |||
|
|
Hi to All, I have created a Form with 3 Blocks: 1) MASTERBLOCK, Table1, PK MASTER_CODE 2) DETAILBLOCK, Table2, KEY = DETAIL_CODE 3) TOOLBAR with button SAVE, ADD, DELETE etc... All Work fine! I can Add, Modify, Save all in the Master and in Detail Block. I have solved. In relations I have set to cascading the property. |
|
But If I try to Delete a Master Record, this message is displayed: CANNOT DELETE THE MASTER RECORD IF THERE ARE CORRESPONDING DETAIL RECORDS (NB. I have translated the message from italian language) In the trigger WHEN-BUTTON-PRESSED of DELETE Button I have entered: Delete_Record ; Please can anyone help me in order to delete the master and the detail records? Thank You and Best Regards Gaetano |
#5
| |||
| |||
|
|
Hi to All, I have created a Form with 3 Blocks: 1) MASTERBLOCK, Table1, PK MASTER_CODE 2) DETAILBLOCK, Table2, KEY = DETAIL_CODE 3) TOOLBAR with button SAVE, ADD, DELETE etc... All Work fine! I can Add, Modify, Save all in the Master and in Detail Block. I have solved. In relations I have set to cascading the property. |
|
But If I try to Delete a Master Record, this message is displayed: CANNOT DELETE THE MASTER RECORD IF THERE ARE CORRESPONDING DETAIL RECORDS (NB. I have translated the message from italian language) In the trigger WHEN-BUTTON-PRESSED of DELETE Button I have entered: Delete_Record ; Please can anyone help me in order to delete the master and the detail records? Thank You and Best Regards Gaetano |
#6
| |||
| |||
|
|
Hi to All, I have created a Form with 3 Blocks: 1) MASTERBLOCK, Table1, PK MASTER_CODE 2) DETAILBLOCK, Table2, KEY = DETAIL_CODE 3) TOOLBAR with button SAVE, ADD, DELETE etc... All Work fine! I can Add, Modify, Save all in the Master and in Detail Block. I have solved. In relations I have set to cascading the property. |
|
But If I try to Delete a Master Record, this message is displayed: CANNOT DELETE THE MASTER RECORD IF THERE ARE CORRESPONDING DETAIL RECORDS (NB. I have translated the message from italian language) In the trigger WHEN-BUTTON-PRESSED of DELETE Button I have entered: Delete_Record ; Please can anyone help me in order to delete the master and the detail records? Thank You and Best Regards Gaetano |
#7
| |||
| |||
|
|
Hi to All, I have created a Form with 3 Blocks: 1) MASTERBLOCK, Table1, PK MASTER_CODE 2) DETAILBLOCK, Table2, KEY = DETAIL_CODE 3) TOOLBAR with button SAVE, ADD, DELETE etc... All Work fine! I can Add, Modify, Save all in the Master and in Detail Block. I have solved. In relations I have set to cascading the property. |
|
But If I try to Delete a Master Record, this message is displayed: CANNOT DELETE THE MASTER RECORD IF THERE ARE CORRESPONDING DETAIL RECORDS (NB. I have translated the message from italian language) In the trigger WHEN-BUTTON-PRESSED of DELETE Button I have entered: Delete_Record ; Please can anyone help me in order to delete the master and the detail records? Thank You and Best Regards Gaetano |
#8
| |||
| |||
|
|
Hi to All, I have created a Form with 3 Blocks: 1) MASTERBLOCK, Table1, PK MASTER_CODE 2) DETAILBLOCK, Table2, KEY = DETAIL_CODE 3) TOOLBAR with button SAVE, ADD, DELETE etc... All Work fine! I can Add, Modify, Save all in the Master and in Detail Block. I have solved. In relations I have set to cascading the property. |
|
But If I try to Delete a Master Record, this message is displayed: CANNOT DELETE THE MASTER RECORD IF THERE ARE CORRESPONDING DETAIL RECORDS (NB. I have translated the message from italian language) In the trigger WHEN-BUTTON-PRESSED of DELETE Button I have entered: Delete_Record ; Please can anyone help me in order to delete the master and the detail records? Thank You and Best Regards Gaetano |
#9
| |||
| |||
|
|
Hi to All, I have created a Form with 3 Blocks: 1) MASTERBLOCK, Table1, PK MASTER_CODE 2) DETAILBLOCK, Table2, KEY = DETAIL_CODE 3) TOOLBAR with button SAVE, ADD, DELETE etc... All Work fine! I can Add, Modify, Save all in the Master and in Detail Block. But If I try to Delete a Master Record, this message is displayed: CANNOT DELETE THE MASTER RECORD IF THERE ARE CORRESPONDING DETAIL RECORDS (NB. I have translated the message from italian language) In the trigger WHEN-BUTTON-PRESSED of DELETE Button I have entered: Delete_Record ; Please can anyone help me in order to delete the master and the detail records? Thank You and Best Regards Gaetano |
#10
| |||
| |||
|
|
Hi to All, I have created a Form with 3 Blocks: 1) MASTERBLOCK, Table1, PK MASTER_CODE 2) DETAILBLOCK, Table2, KEY = DETAIL_CODE 3) TOOLBAR with button SAVE, ADD, DELETE etc... All Work fine! I can Add, Modify, Save all in the Master and in Detail Block. But If I try to Delete a Master Record, this message is displayed: CANNOT DELETE THE MASTER RECORD IF THERE ARE CORRESPONDING DETAIL RECORDS (NB. I have translated the message from italian language) In the trigger WHEN-BUTTON-PRESSED of DELETE Button I have entered: Delete_Record ; Please can anyone help me in order to delete the master and the detail records? Thank You and Best Regards Gaetano |
![]() |
| Thread Tools | |
| Display Modes | |
| |