<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Inphinity Forms - Duplicate Values once Recalculating | Can't Edit values from other Form in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Inphinity-Forms-Duplicate-Values-once-Recalculating-Can-t-Edit/m-p/2458312#M98643</link>
    <description>&lt;P&gt;I have 2 Forms.&lt;/P&gt;
&lt;P&gt;1st Form is for input that will then be concatenated to 2nd Form. After that concatenation User should be able to edit 2nd Form values from 1st Form and recalculate having 1 row with the changes accordingly.&lt;/P&gt;
&lt;P&gt;I need to bring from 1st Form the Name,Date,Country,Status. Which I am doing and everything Is ok in that regard.&lt;/P&gt;
&lt;P&gt;The issue is when I try to add or change a values in Forms that came from the 2nd Form I get a duplicate line where the fields Country, Status and Phone disappear becomeing Null but in the second duplicated line i get my changes there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My script is:&lt;/P&gt;
&lt;P&gt;// Load WECARE_CUSTOMERS.qvd&lt;BR /&gt;[form_data_qvd]:&lt;BR /&gt;NoConcatenate &lt;BR /&gt;LOAD * &lt;BR /&gt;FROM [lib://FORMS_DATA (cars2clickvm_radu.chitu)/WECARE_CUSTOMERS.qvd] (qvd);&lt;/P&gt;
&lt;P&gt;rename table [form_data_qvd] to [T_form_data_qvd];&lt;/P&gt;
&lt;P&gt;[T_form_data_qvd_full]:&lt;BR /&gt;noconcatenate&lt;BR /&gt;LOAD&lt;BR /&gt;*,&lt;BR /&gt;if(key&amp;lt;&amp;gt;previous(key),1,0) as @actual&lt;BR /&gt;RESIDENT [T_form_data_qvd]&lt;BR /&gt;ORDER BY&lt;BR /&gt;key desc, ChangeDate desc;&lt;/P&gt;
&lt;P&gt;drop table [T_form_data_qvd];&lt;/P&gt;
&lt;P&gt;// Filter and transform Attribute_customers&lt;BR /&gt;[Attribute_customers]:&lt;BR /&gt;noconcatenate&lt;BR /&gt;LOAD&lt;BR /&gt;"ATTRIBUTE TO",&lt;BR /&gt;key as "Company Name",&lt;BR /&gt;Phone,&lt;BR /&gt;Country,&lt;BR /&gt;Status,&lt;BR /&gt;Date,&lt;BR /&gt;'geomatch' as validation&lt;BR /&gt;RESIDENT [T_form_data_qvd_full]&lt;BR /&gt;WHERE&lt;BR /&gt;@actual = 1 &lt;BR /&gt;AND "ATTRIBUTE TO" = 'Catarina Duarte';&lt;/P&gt;
&lt;P&gt;drop table [T_form_data_qvd_full];&lt;/P&gt;
&lt;P&gt;// Update Status for CDWECARE&lt;BR /&gt;TMP_Write:&lt;BR /&gt;Crosstable(column, value, 2)&lt;BR /&gt;LOAD&lt;BR /&gt;'CDWECARE' as FormInstance,&lt;BR /&gt;"Company Name",&lt;BR /&gt;'NEW' as Status&lt;BR /&gt;RESIDENT Attribute_customers&lt;BR /&gt;WHERE Status = 'NEW';&lt;/P&gt;
&lt;P&gt;Write:&lt;BR /&gt;LOAD * &lt;BR /&gt;EXTENSION Forms.Write(TMP_Write);&lt;/P&gt;
&lt;P&gt;Drop table TMP_Write;&lt;BR /&gt;Drop table Write;&lt;/P&gt;
&lt;P&gt;// Update Status for WECARE_CUSTOMERS&lt;BR /&gt;TMP_Write:&lt;BR /&gt;Crosstable(column, value, 2)&lt;BR /&gt;LOAD&lt;BR /&gt;'WECARE_CUSTOMERS' as FormInstance,&lt;BR /&gt;"Company Name",&lt;BR /&gt;"ATTRIBUTE TO",&lt;BR /&gt;'USED' as Status&lt;BR /&gt;RESIDENT Attribute_customers&lt;BR /&gt;WHERE Status = 'NEW';&lt;/P&gt;
&lt;P&gt;Write:&lt;BR /&gt;LOAD * &lt;BR /&gt;EXTENSION Forms.Write(TMP_Write);&lt;/P&gt;
&lt;P&gt;Drop table TMP_Write;&lt;BR /&gt;Drop table Write;&lt;/P&gt;
&lt;P&gt;// Load CDWECARE.qvd&lt;BR /&gt;[form_data_qvd]:&lt;BR /&gt;NoConcatenate &lt;BR /&gt;LOAD * &lt;BR /&gt;FROM [lib://FORMS_DATA (cars2clickvm_radu.chitu)/CDWECARE.qvd] (qvd);&lt;/P&gt;
&lt;P&gt;rename table [form_data_qvd] to [T_form_data_qvd];&lt;/P&gt;
&lt;P&gt;[T_form_data_qvd_full]:&lt;BR /&gt;noconcatenate&lt;BR /&gt;LOAD&lt;BR /&gt;*,&lt;BR /&gt;if(key&amp;lt;&amp;gt;previous(key),1,0) as @actual&lt;BR /&gt;RESIDENT [T_form_data_qvd]&lt;BR /&gt;ORDER BY&lt;BR /&gt;key desc, ChangeDate desc;&lt;/P&gt;
&lt;P&gt;drop table [T_form_data_qvd];&lt;/P&gt;
&lt;P&gt;Concatenate(Attribute_customers)&lt;BR /&gt;LOAD&lt;BR /&gt;Country,&lt;BR /&gt;Phone,&lt;BR /&gt;Date,&lt;BR /&gt;key as "Company Name",&lt;BR /&gt;key,&lt;BR /&gt;"New Phone",&lt;BR /&gt;"New Email",&lt;BR /&gt;Email,&lt;BR /&gt;Contact_Person,&lt;BR /&gt;Position,&lt;BR /&gt;Linkedin,&lt;BR /&gt;Called,&lt;BR /&gt;"Call Attempts",&lt;BR /&gt;Emailed,&lt;BR /&gt;"Emails Sent",&lt;BR /&gt;"Last Email",&lt;BR /&gt;Update,&lt;BR /&gt;"Login Date",&lt;BR /&gt;"Login User",&lt;BR /&gt;"Login Password",&lt;BR /&gt;Login,&lt;BR /&gt;"Call Status",&lt;BR /&gt;NOTES,&lt;BR /&gt;"New contact person",&lt;BR /&gt;"Last Phone Call",&lt;BR /&gt;"Date (cars sold)",&lt;BR /&gt;"Number of cars",&lt;BR /&gt;Interests,&lt;BR /&gt;test,&lt;BR /&gt;ChangeDate,&lt;BR /&gt;ChangeBy,&lt;BR /&gt;Deleted,&lt;BR /&gt;Status,&lt;BR /&gt;'wecare' as validation&lt;BR /&gt;RESIDENT [T_form_data_qvd_full]&lt;BR /&gt;WHERE&lt;BR /&gt;@actual = 1;&lt;/P&gt;
&lt;P&gt;drop table [T_form_data_qvd_full];&lt;/P&gt;
&lt;P&gt;// Split Brands&lt;BR /&gt;Brands:&lt;BR /&gt;LOAD&lt;BR /&gt;"Company Name",&lt;BR /&gt;SubField(Interests, ';') as Interested_Brands&lt;BR /&gt;RESIDENT Attribute_customers;&lt;/P&gt;
&lt;P&gt;STORE [Attribute_customers] INTO [lib://FORMS_DATA (cars2clickvm_radu.chitu)/test_test_test.qvd] (qvd);&lt;BR /&gt;&lt;BR /&gt;Please see pictures, first is the loading and second picture I just changed the Status to a different one.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="part1.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/167198i3BC9DC0498CD64AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="part1.jpg" alt="part1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="part2.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/167199i4D5F1BB25D3EDCFB/image-size/large?v=v2&amp;amp;px=999" role="button" title="part2.jpg" alt="part2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I've been in this for a few days now and can't seem to figure this one out, i have Inphinity for 1 week now so I am new to that as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would really appreciate any help in this one!&lt;/P&gt;</description>
    <pubDate>Fri, 31 May 2024 15:03:11 GMT</pubDate>
    <dc:creator>Nolgath</dc:creator>
    <dc:date>2024-05-31T15:03:11Z</dc:date>
    <item>
      <title>Inphinity Forms - Duplicate Values once Recalculating | Can't Edit values from other Form</title>
      <link>https://community.qlik.com/t5/App-Development/Inphinity-Forms-Duplicate-Values-once-Recalculating-Can-t-Edit/m-p/2458312#M98643</link>
      <description>&lt;P&gt;I have 2 Forms.&lt;/P&gt;
&lt;P&gt;1st Form is for input that will then be concatenated to 2nd Form. After that concatenation User should be able to edit 2nd Form values from 1st Form and recalculate having 1 row with the changes accordingly.&lt;/P&gt;
&lt;P&gt;I need to bring from 1st Form the Name,Date,Country,Status. Which I am doing and everything Is ok in that regard.&lt;/P&gt;
&lt;P&gt;The issue is when I try to add or change a values in Forms that came from the 2nd Form I get a duplicate line where the fields Country, Status and Phone disappear becomeing Null but in the second duplicated line i get my changes there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My script is:&lt;/P&gt;
&lt;P&gt;// Load WECARE_CUSTOMERS.qvd&lt;BR /&gt;[form_data_qvd]:&lt;BR /&gt;NoConcatenate &lt;BR /&gt;LOAD * &lt;BR /&gt;FROM [lib://FORMS_DATA (cars2clickvm_radu.chitu)/WECARE_CUSTOMERS.qvd] (qvd);&lt;/P&gt;
&lt;P&gt;rename table [form_data_qvd] to [T_form_data_qvd];&lt;/P&gt;
&lt;P&gt;[T_form_data_qvd_full]:&lt;BR /&gt;noconcatenate&lt;BR /&gt;LOAD&lt;BR /&gt;*,&lt;BR /&gt;if(key&amp;lt;&amp;gt;previous(key),1,0) as @actual&lt;BR /&gt;RESIDENT [T_form_data_qvd]&lt;BR /&gt;ORDER BY&lt;BR /&gt;key desc, ChangeDate desc;&lt;/P&gt;
&lt;P&gt;drop table [T_form_data_qvd];&lt;/P&gt;
&lt;P&gt;// Filter and transform Attribute_customers&lt;BR /&gt;[Attribute_customers]:&lt;BR /&gt;noconcatenate&lt;BR /&gt;LOAD&lt;BR /&gt;"ATTRIBUTE TO",&lt;BR /&gt;key as "Company Name",&lt;BR /&gt;Phone,&lt;BR /&gt;Country,&lt;BR /&gt;Status,&lt;BR /&gt;Date,&lt;BR /&gt;'geomatch' as validation&lt;BR /&gt;RESIDENT [T_form_data_qvd_full]&lt;BR /&gt;WHERE&lt;BR /&gt;@actual = 1 &lt;BR /&gt;AND "ATTRIBUTE TO" = 'Catarina Duarte';&lt;/P&gt;
&lt;P&gt;drop table [T_form_data_qvd_full];&lt;/P&gt;
&lt;P&gt;// Update Status for CDWECARE&lt;BR /&gt;TMP_Write:&lt;BR /&gt;Crosstable(column, value, 2)&lt;BR /&gt;LOAD&lt;BR /&gt;'CDWECARE' as FormInstance,&lt;BR /&gt;"Company Name",&lt;BR /&gt;'NEW' as Status&lt;BR /&gt;RESIDENT Attribute_customers&lt;BR /&gt;WHERE Status = 'NEW';&lt;/P&gt;
&lt;P&gt;Write:&lt;BR /&gt;LOAD * &lt;BR /&gt;EXTENSION Forms.Write(TMP_Write);&lt;/P&gt;
&lt;P&gt;Drop table TMP_Write;&lt;BR /&gt;Drop table Write;&lt;/P&gt;
&lt;P&gt;// Update Status for WECARE_CUSTOMERS&lt;BR /&gt;TMP_Write:&lt;BR /&gt;Crosstable(column, value, 2)&lt;BR /&gt;LOAD&lt;BR /&gt;'WECARE_CUSTOMERS' as FormInstance,&lt;BR /&gt;"Company Name",&lt;BR /&gt;"ATTRIBUTE TO",&lt;BR /&gt;'USED' as Status&lt;BR /&gt;RESIDENT Attribute_customers&lt;BR /&gt;WHERE Status = 'NEW';&lt;/P&gt;
&lt;P&gt;Write:&lt;BR /&gt;LOAD * &lt;BR /&gt;EXTENSION Forms.Write(TMP_Write);&lt;/P&gt;
&lt;P&gt;Drop table TMP_Write;&lt;BR /&gt;Drop table Write;&lt;/P&gt;
&lt;P&gt;// Load CDWECARE.qvd&lt;BR /&gt;[form_data_qvd]:&lt;BR /&gt;NoConcatenate &lt;BR /&gt;LOAD * &lt;BR /&gt;FROM [lib://FORMS_DATA (cars2clickvm_radu.chitu)/CDWECARE.qvd] (qvd);&lt;/P&gt;
&lt;P&gt;rename table [form_data_qvd] to [T_form_data_qvd];&lt;/P&gt;
&lt;P&gt;[T_form_data_qvd_full]:&lt;BR /&gt;noconcatenate&lt;BR /&gt;LOAD&lt;BR /&gt;*,&lt;BR /&gt;if(key&amp;lt;&amp;gt;previous(key),1,0) as @actual&lt;BR /&gt;RESIDENT [T_form_data_qvd]&lt;BR /&gt;ORDER BY&lt;BR /&gt;key desc, ChangeDate desc;&lt;/P&gt;
&lt;P&gt;drop table [T_form_data_qvd];&lt;/P&gt;
&lt;P&gt;Concatenate(Attribute_customers)&lt;BR /&gt;LOAD&lt;BR /&gt;Country,&lt;BR /&gt;Phone,&lt;BR /&gt;Date,&lt;BR /&gt;key as "Company Name",&lt;BR /&gt;key,&lt;BR /&gt;"New Phone",&lt;BR /&gt;"New Email",&lt;BR /&gt;Email,&lt;BR /&gt;Contact_Person,&lt;BR /&gt;Position,&lt;BR /&gt;Linkedin,&lt;BR /&gt;Called,&lt;BR /&gt;"Call Attempts",&lt;BR /&gt;Emailed,&lt;BR /&gt;"Emails Sent",&lt;BR /&gt;"Last Email",&lt;BR /&gt;Update,&lt;BR /&gt;"Login Date",&lt;BR /&gt;"Login User",&lt;BR /&gt;"Login Password",&lt;BR /&gt;Login,&lt;BR /&gt;"Call Status",&lt;BR /&gt;NOTES,&lt;BR /&gt;"New contact person",&lt;BR /&gt;"Last Phone Call",&lt;BR /&gt;"Date (cars sold)",&lt;BR /&gt;"Number of cars",&lt;BR /&gt;Interests,&lt;BR /&gt;test,&lt;BR /&gt;ChangeDate,&lt;BR /&gt;ChangeBy,&lt;BR /&gt;Deleted,&lt;BR /&gt;Status,&lt;BR /&gt;'wecare' as validation&lt;BR /&gt;RESIDENT [T_form_data_qvd_full]&lt;BR /&gt;WHERE&lt;BR /&gt;@actual = 1;&lt;/P&gt;
&lt;P&gt;drop table [T_form_data_qvd_full];&lt;/P&gt;
&lt;P&gt;// Split Brands&lt;BR /&gt;Brands:&lt;BR /&gt;LOAD&lt;BR /&gt;"Company Name",&lt;BR /&gt;SubField(Interests, ';') as Interested_Brands&lt;BR /&gt;RESIDENT Attribute_customers;&lt;/P&gt;
&lt;P&gt;STORE [Attribute_customers] INTO [lib://FORMS_DATA (cars2clickvm_radu.chitu)/test_test_test.qvd] (qvd);&lt;BR /&gt;&lt;BR /&gt;Please see pictures, first is the loading and second picture I just changed the Status to a different one.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="part1.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/167198i3BC9DC0498CD64AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="part1.jpg" alt="part1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="part2.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/167199i4D5F1BB25D3EDCFB/image-size/large?v=v2&amp;amp;px=999" role="button" title="part2.jpg" alt="part2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I've been in this for a few days now and can't seem to figure this one out, i have Inphinity for 1 week now so I am new to that as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would really appreciate any help in this one!&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 15:03:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Inphinity-Forms-Duplicate-Values-once-Recalculating-Can-t-Edit/m-p/2458312#M98643</guid>
      <dc:creator>Nolgath</dc:creator>
      <dc:date>2024-05-31T15:03:11Z</dc:date>
    </item>
  </channel>
</rss>

