Pull (Parent Form) variable into (Sub Form) as the function iterates through recordset??
Hi guys,
I need to update just over 23,000 records from 2023. I may be overthinking this; however, as you can see, I've added a single criteria to the function and initially designed it to run on the click of a single record. I would be there for years lol!
I would like to execute the function and insert entries into the subform (sampleSizeCheckStage1) and take the sampleID from the Parent Sample Form (frmSample) so it links back to its parent form. Am I even looking at this correctly or am I totally missing a trick?
Any help on this would be so appreciated as I'm really struggling to get my head around it. Many thanks in advance for any help given.
- void processSizeCheck(int sampleID)
- {
- for each r in frmSample <<< Parent
- {
- // Sample Form
- sizeCheckS1Complete = true;
- // Size Check Form
- sizeCheckForm = insert into sampleSizeCheckStage1 <<< Subform
- [
- sample_id=sampleID << need from Parent above
- sizeCheckTechnician=thisapp.GetEmployeeCombinedName()
- Added_User=zoho.loginuser
- xTT1="Pass"
- xTT2="Pass"
- xTT3="Pass"
- xBT1="Pass"
- xBT2="Pass"
- xBT3="Pass"
- xRT1="Pass"
- xRT2="Pass"
- xRT3="Pass"
- xLT1="Pass"
- xLT2="Pass"
- yLT3="Pass"
- xOutcomeResult="Passed"
- yTT1="Pass"
- yTT2="Pass"
- yTT3="Pass"
- yBT1="Pass"
- yBT2="Pass"
- yBT3="Pass"
- yRT1="Pass"
- yRT2="Pass"
- yRT3="Pass"
- yLT1="Pass"
- yLT2="Pass"
- yLT31="Pass"
- yOutcomeResult="Passed"
- bmsBF1="Pass"
- bmsBF2="Pass"
- bmsTF11="Pass"
- bmsTF2="Pass"
- bmsOutcomeResult="Passed"
- flatnessTT1="Pass"
- flatnessTT2="Pass"
- flatnessTT3="Pass"
- flatnessTT4="Pass"
- flatnessBT1="Pass"
- flatnessBT2="Pass"
- flatnessBT3="Pass"
- flatnessBT4="Pass"
- flatnessRT1="Pass"
- flatnessRT2="Pass"
- flatnessRT3="Pass"
- flatnessRT4="Pass"
- flatnessLT1="Pass"
- flatnessLT2="Pass"
- flatnessLT3="Pass"
- flatnessLT4="Pass"
- flatnessOutcomeResult="Passed"
- perpTT="Pass"
- perpBT="Pass"
- perpRT="Pass"
- perpLT="Pass"
- perpendicularityOutcomeResult="Passed"
- outcomeResult="Passed"
- ];
- }
- }
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
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
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.