Adding Subforms in Deluge

Adding Subforms in Deluge

Hi

I'm trying to add new rows in a subform, but keep getting an error. I have posted unfinished code below, and getting an error at: row1 = Suppliers.SupplierParts(); with Suppliers being the form link name, and SupplierParts being the subform link name.

The error I receive is: 
xecution Failed
Value is empty and '18711000000067550' function cannot be applied Line:(9)

I've essentially trying to create a new row and then go about populating it and this is the code I can find online for how to do it. Does anyone have any other tips?

void Parts_Functions.updatePartsToSuppliers()
{
for each  part in Create_Part_or_Material[ID != 0]
{
for each  supplier in part.Part_Suppliers
{
info supplier.Suppliers.Supplier;
supplierRecord = Suppliers[ID = supplier.Suppliers];
row1 = Suppliers.SupplierParts();
//row1.Test_Line = "blah blah blah";
//row1.Create_Part_or_Material = 9879879873;
info row1;
}
}
}

    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 コンテンツ




                              ご検討中の方