<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>6 Jun 2016 22:47:00 Z</lastBuildDate><pubDate>5 Jun 2016 12:06:00 Z</pubDate><description>HI&#13;
Can anyone help with extracting a list of the field names from a table into an array.&#13;
I tried FiletoArray(), but that seems to be the contents of a field...&#13;
&#13;
I want to populate one table from another extracted via HExecutesqlquery.&#13;
I have a number of tables to do, so want to create by code rather than the following longhand...&#13;
&#13;
Customers.CardIdentification = myQuery.CardIdentification&#13;
Customers.Name = myQuery.Name&#13;
Customers.LastName = myQuery.LastName&#13;
&#13;
rather do something like&#13;
&#13;
// Step 1 - get array of table field names&#13;
myArray is array of 1 strings &lt;?&gt;&#13;
&#13;
&#13;
&#13;
// Step 2 - scan array and populate all the fields in the table&#13;
sString is string&#13;
sFile = "customers"&#13;
nbDim is int&#13;
nbDim = ArrayInfo(myArray, tiNumberRows)&#13;
nRow is int = 1&#13;
FOR nRow = 1 TO nbDim&#13;
sString = sFile + "." + myArray[nRow,1] + " = myQuery." + myArray[nRow,1]&#13;
executecode(sString)&#13;
hAdd...&#13;
hModify...&#13;
xSeek = myArray[nRow,1]&#13;
end&#13;
&#13;
Any Help Appreciated.&#13;
Thanks&#13;
Mark</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57971-field-names-from-fic-file/read.awp</link><title>Field names from fic file</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57971-field-names-from-fic-file-57991/read.awp</comments><pubDate>6 Jun 2016 22:47:00 Z</pubDate><description>Note about the code above.&#13;
&#13;
It turned out to be very slow when processing a dataFile with 71000 rows. Went from 1 minute to 3 …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57971-field-names-from-fic-file-57991/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57971-field-names-from-fic-file-57991/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57971-field-names-from-fic-file/read.awp">Field names from fic file</source><title>Re: Field names from fic file</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57971-field-names-from-fic-file-57974/read.awp</comments><pubDate>5 Jun 2016 22:07:00 Z</pubDate><description>Thanks Mike H&#13;
Just what I was looking for … Windev Rocks!&#13;
&#13;
Here's part of my code which does a query on a remote database and…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57971-field-names-from-fic-file-57974/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57971-field-names-from-fic-file-57974/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57971-field-names-from-fic-file/read.awp">Field names from fic file</source><title>Re: Field names from fic file</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57971-field-names-from-fic-file-57973/read.awp</comments><pubDate>5 Jun 2016 13:33:00 Z</pubDate><description>Hi, Mark&#13;
&#13;
HListItem returns a character string list of items in a specified file. Item names are separated by CR&#13;
&#13;
It should …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57971-field-names-from-fic-file-57973/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57971-field-names-from-fic-file-57973/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57971-field-names-from-fic-file/read.awp">Field names from fic file</source><title>Re: Field names from fic file</title></item></channel></rss>
