<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged excel-import</title>
<link>https://overflow.efficy.io/?qa=tag/excel-import</link>
<description>Powered by Question2Answer</description>
<item>
<title>Function executeOdbcQuery not fetching full excel file string content</title>
<link>https://overflow.efficy.io/?qa=4915/function-executeodbcquery-fetching-excel-string-content</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I am currently using the function executeOdbcQuery to read and save the content&lt;br&gt;
of an excel file with different fields, one of them is targeted towards company memo.&lt;/p&gt;

&lt;p&gt;Here is an exemple of the length contained in one of those MEMO fields of the excel:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Ont 20000 logements à gérer sur 3 départements -  Recherche une solution qui permettrait de mettre en relation directement les locataires et les prestataires externes - Les prestataires sont au nombre de 100 - La solution devra permettre aux locataires de valider la prise en charge et traitement - Idem pour le locataire ce qui permet ensuite aux équipes gestion de valider le bon traitement et le paiement -  Le fait d'exploiter notre extranet et des accès desktop par les prestataires plus des règles et procédures automatisées cela parait il jouable ou vraiment trop éloigné comme je le pense  - Projet potentiel sur fin d année
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;But when read by the function, the code fetches only a short part of this string:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Ont 20000 logements à gérer sur 3 départements -  Recherche une solution qui permettrait de mettre en relation directement les locataires et les prestataires externes - Les prestataires sont au nombre de 100 - La solution devra permettre aux locataires de
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I used the function with like this:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Efficy.executeOdbcQuery(0, tempContext, ODBC_STRING, sql, true, true, 2)

ODBC_STRING = &quot;Provider=MSDASQL.1;Persist Security Info=False;Data Source=Excel Files;Initial Catalog=&quot;;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Is there some way to be able to read the full string in an excel file using this function?&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4915/function-executeodbcquery-fetching-excel-string-content</guid>
<pubDate>Mon, 14 Oct 2019 11:39:16 +0000</pubDate>
</item>
<item>
<title>Data Synchro - Import data in multivalue field</title>
<link>https://overflow.efficy.io/?qa=2860/data-synchro-import-data-in-multivalue-field</link>
<description>&lt;p&gt;Hi all!&lt;/p&gt;

&lt;p&gt;I want to import some data in Efficy with DataSync Tool. In a Relation Table i have a multivalue field. Its choices come from the F&lt;em&gt;ROLE field of a LookUp Table (LK&lt;/em&gt;THEMROLE).&lt;br&gt;
1 | role1&lt;br&gt;
2 | role2&lt;br&gt;
...&lt;/p&gt;

&lt;p&gt;I tried to import data from an Excel file wich looks like this :&lt;br&gt;
Them.Name | Cont.FirstName | Cont.Name | THEM&lt;em&gt;CONT.F&lt;/em&gt;ROLES&lt;br&gt;
Them1 | Firstname1 | Name1 | role1;role2;role5&lt;br&gt;
...&lt;/p&gt;

&lt;p&gt;when i run  the synchro the tool throw me this exception :&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;[10:48:17.083] Error while creating or modifying destination record.&lt;br&gt;
  [10:48:17.087] Error: WKFL-2142 Error while executing Script&lt;br&gt;
  &quot;EVariantTypeCastError&quot; at line 42 char 5. Message: &quot;Could not convert&lt;br&gt;
  variant of type (Dispatch) into type (Integer)&quot;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I tried to replace the name of each role by it's id in the LookUp Table but it's the same&lt;/p&gt;

&lt;p&gt;Can anyone help me ?&lt;br&gt;
Thanks a lot&lt;/p&gt;
</description>
<category>Utilities</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2860/data-synchro-import-data-in-multivalue-field</guid>
<pubDate>Fri, 29 Dec 2017 10:27:56 +0000</pubDate>
</item>
</channel>
</rss>