Delete records in subform when one record is deleted in main form

Delete records in subform when one record is deleted in main form

Hi, 

I've a form (Form A) that create records in another form (Form B) when I submit the record in Form A, I've inserted the main form ID to each rows of the records I created in From B.

I created a delete record workflow on Form A to delete records in then in Form B using the record ID:

delete from FormB[FormA_ID = ID];

But it seems does not work when we deleted the record in Form A.

I change the criteria to loginuser:

delete from FormB[Added_User = zoho.loginuser];

This scripts works as it does delete all the records.

Just wonder why the deleting records using the ID does not work?

Thanks in advanced!


    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方